added feature to extract filename from http attachment (#2037)

* added feature to extract filename from http attachment

* fixed some issues

* added check for filename format

* added check for filename format

* remove an unnecessary print

* changed the size from 952 to 960

* modified some test result files

* small changes string size

* comment removed and mallocs checked
This commit is contained in:
Chiara Maggi
2023-07-11 22:45:19 +02:00
committed by GitHub
parent 950f5cc4e3
commit 0b0f255cc2
10 changed files with 50 additions and 12 deletions
+3
View File
@@ -5356,6 +5356,9 @@ void ndpi_free_flow_data(struct ndpi_flow_struct* flow) {
if(flow->http.server)
ndpi_free(flow->http.server);
if(flow->http.filename)
ndpi_free(flow->http.filename);
if(flow->kerberos_buf.pktbuf)
ndpi_free(flow->kerberos_buf.pktbuf);