diff options
author | Simone Mainardi <mainardi@ntop.org> | 2019-03-04 18:48:38 +0100 |
---|---|---|
committer | Simone Mainardi <mainardi@ntop.org> | 2019-03-04 18:48:38 +0100 |
commit | 59f683858b2b8f28e88b9348b75fef5164665964 (patch) | |
tree | f577e229df1eba0c2382882fb0cb8e08f40dc33e /src/lib/protocols/dns.c | |
parent | c339211ac7043c9fe6f17971b4f7ef8c3b5ec9ab (diff) |
Fixes possibly broken dissection of invalid DNS responses
Diffstat (limited to 'src/lib/protocols/dns.c')
-rw-r--r-- | src/lib/protocols/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c index b636f3e89..e282eb4d3 100644 --- a/src/lib/protocols/dns.c +++ b/src/lib/protocols/dns.c @@ -177,7 +177,8 @@ void ndpi_search_dns(struct ndpi_detection_module_struct *ndpi_struct, struct nd } } } - } + } else + invalid = 1; } if(invalid) { |