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

vectorscan version incorrect in hs.h #140

Closed
a16bitsysop opened this issue Mar 19, 2023 · 3 comments · Fixed by #143
Closed

vectorscan version incorrect in hs.h #140

a16bitsysop opened this issue Mar 19, 2023 · 3 comments · Fixed by #143

Comments

@a16bitsysop
Copy link

rspamd has implemented a version check for hyperscan files in commit:
rspamd/rspamd@5604cdc

for the current version of vectorscan this always fails with:
invalid version: 84150272 (84148224 expected)

I can’t see any code for rspamd saving the version, these numbers are 2048 different which is 1<<11

I can see is hs.h the patch number is 0 not 8

@a16bitsysop
Copy link
Author

the header has now been patched in alpine, which fixes the test for rspamd.

@markos
Copy link

markos commented Mar 19, 2023

Hi, a -long overdue- vectorscan version will be released in the next few days, and this fix will be included. thanks for your contributions!

@markos
Copy link

markos commented Mar 23, 2023

This has been fixed in #135 . A new release is planned soon.

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

Successfully merging a pull request may close this issue.

2 participants