cppcheck analysis of suricata_1.0.2-1.dsc
- ./libhtp/test/main.c:709 [error] - Resource leak: d
- ./libhtp/test/main.c:774 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./libhtp/test/test-tcpick.c:187 [error] - Memory leak: data
- ./libhtp/test/test.c:95 [error] - Resource leak: fd
- ./libhtp/test/test.c:243 [error] - Dangerous usage of 'filename' (strncpy doesn't always 0-terminate it)
- ./src/counters.c:589 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/counters.c:590 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/source-pcap-file.c:230 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/source-pcap-file.c:239 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/source-pcap-file.c:281 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/source-pcap-file.c:250 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/source-pcap-file.c:256 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/stream-tcp.c:855 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/suricata.c:1011 [error] - Array '_sc_log_msg[1024]' index 1024 out of bounds
- ./src/util-debug.c:142 [style] - Redundant assignment of "syslog_log_level" in switch
- ./src/util-mpm-b2g-cuda.c:1870 [error] - Memory leak: tctx
- ./src/util-pool.c:216 [error] - Memory leak: ptrmem
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:18:51 +0000, based on results by cppcheck 1.46