diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-06-30 13:36:20 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-06-30 13:36:20 +0200 |
commit | eec5bccabd76162e53ec7b37a1e7dd3309c24f3e (patch) | |
tree | abca9db0570cdf0ea8a7e60ccede3f78b5970f07 /tests/do.sh.in | |
parent | c96f4512fa4bbc0266c1bba43812f76361190699 (diff) |
Fix byte-order issue during ndpiReader tcp/udp src/dst port serialization. Fixes #1608.fix/ndpi-reader-serialization-issues
* fixed possible memory leak caused by an invalid call to `node_proto_guess_walker()` during serialization
* execute serialization code while running regression tests
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/do.sh.in')
-rwxr-xr-x | tests/do.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/do.sh.in b/tests/do.sh.in index 63d2fa591..ba16045a0 100755 --- a/tests/do.sh.in +++ b/tests/do.sh.in @@ -45,7 +45,7 @@ build_results() { #echo $f # create result files if not present if [ ! -f result/$f.out ]; then - CMD="$READER -q -t -i pcap/$f -w result/$f.out -v 2" + CMD="$READER -q -K JSON -k /dev/null -t -i pcap/$f -w result/$f.out -v 2" $CMD fi done @@ -73,7 +73,7 @@ check_results() { fi if [ -f result/$f.out ]; then - CMD="$READER -q -t -i pcap/$f -w /tmp/reader.out -v 2" + CMD="$READER -q -K JSON -k /dev/null -t -i pcap/$f -w /tmp/reader.out -v 2" $CMD CMD_RET=$? if [ $CMD_RET -eq 0 ]; then |