PCRE2Project / pcre2

PCRE2 development is now based here.
Other
917 stars 191 forks source link

pcre2_convert: fix unsafe use of PCRE2 assertions in API entrypoint #489

Closed carenas closed 2 months ago

carenas commented 2 months ago

Correct recent code changes that could have resulted in ABI problems by no longer returning the expected error code on fatal failure.

Since this assertion shouldn't had triggered unless a bug is introduced, it should be also safe to remove, but is likely to be added back once safe to do so.