-
Notifications
You must be signed in to change notification settings - Fork 907
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
ndpiReader crashes with latest git repo code when run with '-c mining_hosts.txt' #789
Comments
gdb ./ndpiReader
Using nDPI (2.9.0-1877-6a22bee) [1 thread(s)] Program received signal SIGSEGV, Segmentation fault. |
I don't compile nDPI with HyperScan since some time. I believe the bug is there |
Bug was introduced recently. Hyperscan+ mining_hosts worked fine until now. I commented out following code in ndpi_content_match.c.inc and crash does not happen. static ndpi_category_match category_match[] = { |
Following changes fixes the problem. git diff src/lib/ndpi_main.c
#ifdef HAVE_HYPERSCAN
@@ -4313,8 +4314,8 @@ int ndpi_enable_loaded_categories(struct ndpi_detection_module_struct ndpi_str)
#ifdef HAVE_HYPERSCAN
@@ -4367,6 +4373,7 @@ int ndpi_enable_loaded_categories(struct ndpi_detection_module_struct *ndpi_str)
|
Fixed with the latest patches |
No description provided.
The text was updated successfully, but these errors were encountered: