Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] regex: Add nullptr check in _regex_free, needed with PCRE2 10.42 #78137

Merged
merged 1 commit into from
Jun 12, 2023

Conversation

akien-mga
Copy link
Member

Fixes #76174.

Simpler alternative to #70472 to fix the issue caused by upgrading PCRE2 (when using Linux distro packages) for 4.0 and 3.5. For 4.1 and 3.6, #70472 does this + upgrades our vendored PCRE2 too, but for stable branches this library update might not be warranted at this late stage.

@akien-mga akien-mga added bug topic:core topic:thirdparty cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release labels Jun 12, 2023
@akien-mga akien-mga added this to the 4.0 milestone Jun 12, 2023
@akien-mga akien-mga requested a review from a team as a code owner June 12, 2023 13:22
@akien-mga akien-mga changed the title regex: Add nullptr check in _regex_free, needed with PCRE2 10.42 [4.0] regex: Add nullptr check in _regex_free, needed with PCRE2 10.42 Jun 12, 2023
@akien-mga akien-mga merged commit 11df2a8 into godotengine:4.0 Jun 12, 2023
@akien-mga akien-mga deleted the 4.0-regex-nullptr-free branch June 12, 2023 15:07
@akien-mga
Copy link
Member Author

Cherry-picked for 3.5.3.

@akien-mga akien-mga removed the cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants