Hyperscan panics if bounded repeat is exactly 32767
dchenz opened this issue · 0 comments
dchenz commented
python3: src/parser/ComponentRepeat.cpp:125: virtual void ue2::ComponentRepeat::notePositions(ue2::GlushkovBuildState&): Assertion `m_max == NoLimit || m_max < MAX_REPEAT' failed.
Aborted (core dumped)
Bad pattern: abc .{0,32767}
Mode: stream database
Hyperscan version: 5.6.1
Python hyperscan version: 0.4.0
Python version: 3.9.17
It compiles ok with 32766 and gives a "Bounded repeat too large" compile error for 32768.