Merge pull request #925 from lnslbrty/fix/ndpi-rader-unitialized-values
Fixed unitialized values in ndpiReader protocol detection bitmask dur…
This commit is contained in:
@@ -3142,6 +3142,7 @@ static void dgaUnitTest() {
|
|||||||
|
|
||||||
assert(ndpi_str != NULL);
|
assert(ndpi_str != NULL);
|
||||||
|
|
||||||
|
NDPI_BITMASK_SET_ALL(all);
|
||||||
ndpi_set_protocol_detection_bitmask2(ndpi_str, &all);
|
ndpi_set_protocol_detection_bitmask2(ndpi_str, &all);
|
||||||
|
|
||||||
ndpi_finalize_initalization(ndpi_str);
|
ndpi_finalize_initalization(ndpi_str);
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
cd "$(dirname "${0}")"
|
||||||
|
|
||||||
READER="valgrind -q --leak-check=full ../example/ndpiReader -p ../example/protos.txt -c ../example/categories.txt"
|
READER="valgrind -q --leak-check=full ../example/ndpiReader -p ../example/protos.txt -c ../example/categories.txt"
|
||||||
|
|
||||||
RC=0
|
RC=0
|
||||||
|
|||||||
Reference in New Issue
Block a user