cppcheck analysis of hlbr_1.7.2-2.dsc
- ./actions/action_alert_file.c:100 [error] - Resource leak: fp
- ./actions/action_alert_listensocket.c:160 [error] - Memory leak: data
- ./actions/action_alert_socket.c:100 [error] - Memory leak: data
- ./actions/action_dump_packet.c:98 [error] - Memory leak: data
- ./actions/action_route_sip.c:78 [error] - Memory leak: data
- ./decoders/decode_dns.c:86 [error] - Memory leak: data
- ./decoders/decode_tcp_stream.c:41 [error] - Memory leak: data
- ./engine/hlbrlib.c:66 [error] - Resource leak: fp
- ./engine/hlbrlib.c:152 [error] - Memory leak: s
- ./packets/packet_solaris_dlpi.c:515 [error] - Dangerous usage of 'dname' (strncpy doesn't always 0-terminate it)
- ./packets/packet_tcpdump.c:60 [error] - Resource leak: fd
- ./tests/test_ethernet_dst.c:143 [error] - Memory leak: data
- ./tests/test_ethernet_src.c:143 [error] - Memory leak: data
- ./tests/test_http_regex.c:97 [error] - Memory leak: data
- ./tests/test_ip_dst.c:49 [error] - Uninitialized variable: i
- ./tests/test_ip_src.c:49 [error] - Uninitialized variable: i
- ./tests/test_ip_ttl.c:49 [error] - Uninitialized variable: i
- ./tests/test_tcp_dst.c:50 [error] - Uninitialized variable: i
- ./tests/test_tcp_dst.c:127 [error] - Uninitialized variable: i
- ./tests/test_tcp_flags.c:176 [error] - Memory leak: data
- ./tests/test_tcp_flags.c:57 [error] - Uninitialized variable: i
- ./tests/test_tcp_offset.c:125 [error] - Memory leak: data
- ./tests/test_udp_regex.c:97 [error] - Memory leak: data
- ./tests/test_udp_src.c:50 [error] - Uninitialized variable: i
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:49:10 +0000, based on results by cppcheck 1.41-modif