We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
id
rust-hyperscan/hyperscan/src/compile/pattern.rs
Lines 141 to 152 in e2471ff
the id field in Pattern is usize, but it's c_uint / u32 in the hs_compile_multi and match_event_handler
usize
c_uint
u32
hs_compile_multi
match_event_handler
rust-hyperscan/hyperscan-sys/src/hyperscan.rs
Lines 464 to 474 in e2471ff
Lines 558 to 566 in e2471ff
if pattern.id > u32.Max, it will be truncated while compiling database, and then the callback id will be wrong.
pattern.id > u32.Max
The text was updated successfully, but these errors were encountered:
No branches or pull requests
rust-hyperscan/hyperscan/src/compile/pattern.rs
Lines 141 to 152 in e2471ff
the
id
field in Pattern isusize
, but it'sc_uint
/u32
in thehs_compile_multi
andmatch_event_handler
rust-hyperscan/hyperscan-sys/src/hyperscan.rs
Lines 464 to 474 in e2471ff
rust-hyperscan/hyperscan-sys/src/hyperscan.rs
Lines 558 to 566 in e2471ff
if
pattern.id > u32.Max
, it will be truncated while compiling database, and then the callback id will be wrong.The text was updated successfully, but these errors were encountered: