Skip to content

Conversation

@ndossche
Copy link
Member

pcre2_match() returns error codes < 0, but only the "no match" error code was handled. Fix it by changing the check to >= 0.

Found using an experimental static analysis tool I'm developing.

pcre2_match() returns error codes < 0, but only the "no match" error
code was handled. Fix it by changing the check to >= 0.
@Girgias Girgias closed this in 8cac830 Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants