Crash in regex parser

Description

Stack was:

looking in bool RegexParser::performMatch
it only sets up processor if hits
if (len >= algo->minPatternLength)
.. block
however len == 2 and algo->minPatternLength == 4, so it doesn't setup state.processor

Then it enters:
if (state.numMatched == 0)
.. block and algo->notMatched = true
and calls createMatchRow

So it's segfaulting on uninitialized or invalid old state.processor by the looks of it.

Conclusion

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Components

Assignee

Reporter

Priority

Compatibility

Point

Fix versions

Created December 8, 2016 at 1:10 PM
Updated December 12, 2016 at 10:22 AM
Resolved December 12, 2016 at 10:22 AM