Added credit for finding a bug.

This commit is contained in:
Philip.Hazel 2015-07-16 16:15:52 +00:00
parent 3326a72f6d
commit 5700a2382f
1 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,8 @@ an opening parenthesis.
setting (which (*:0) is), then (?x) did not get unset at the end of its group setting (which (*:0) is), then (?x) did not get unset at the end of its group
during the scan for named groups, and hence the external # was incorrectly during the scan for named groups, and hence the external # was incorrectly
treated as a comment and the invalid (?' at the end of the pattern was not treated as a comment and the invalid (?' at the end of the pattern was not
diagnosed. This caused a buffer overflow during the real compile. diagnosed. This caused a buffer overflow during the real compile. This bug was
discovered by Karl Skomski with the LLVM fuzzer.
7. Moved the pcre2_find_bracket() function from src/pcre2_compile.c into its 7. Moved the pcre2_find_bracket() function from src/pcre2_compile.c into its
own source module to avoid a circular dependency between src/pcre2_compile.c own source module to avoid a circular dependency between src/pcre2_compile.c