Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend the test for re-using pre-compiled regexp.
A failure in compiling a regexp may lead to an inconsistent state, where the buffer is correctly populated, but the regexp pointer is NULL -> on next usage, the code will attempt to directly used (as the regexp buffer matches) the NULL pointer and crash. Reported by Ben Newlin <Ben.Newlin@genesys.com> (cherry picked from commit b77c182)
- Loading branch information