-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pcre2_compile: belt and suspenders for check_lookbehinds() (#427)
Maybe pacify a coverity report by making sure a safe erroroffset is reported for an error case that should never happen. To keep the usefullness of the crash that could be triggered in case of a bug, reintroduce the original value for DEBUG builds. While at it, cleanup code from a related function that was not needed and change a cast to better match the current size as well as a relevant typo.
- Loading branch information
Showing
1 changed file
with
17 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters