Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyperscan panics if bounded repeat is exactly 32767 #425

Open
dchenz opened this issue Dec 21, 2023 · 0 comments
Open

Hyperscan panics if bounded repeat is exactly 32767 #425

dchenz opened this issue Dec 21, 2023 · 0 comments

Comments

@dchenz
Copy link

dchenz commented Dec 21, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant