cppcheck analysis of packit_1.0-2.dsc
- ./src/print_icmpv4_hdr.c:60 [error] - Memory leak: s_addr
- ./src/print_icmpv4_hdr.c:61 [error] - Memory leak: d_addr
- ./src/print_ipv4_hdr.c:42 [error] - Memory leak: s_addr
- ./src/print_ipv4_hdr.c:43 [error] - Memory leak: d_addr
- ./src/print_tcp_hdr.c:85 [error] - Memory leak: port_src
- ./src/print_tcp_hdr.c:85 [error] - Memory leak: port_dst
- ./src/print_ts.c:56 [error] - Memory leak: ltm
- ./src/shape_arp_hdr.c:80 [error] - Memory leak: hw_addr
- ./src/shape_ethernet_hdr.c:49 [error] - Memory leak: hw_addr
- ./src/utils.c:95 [error] - Undefined behaviour: ip is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/utils.c:117 [error] - Undefined behaviour: eaddr is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./src/utils.c:647 [error] - Undefined behaviour: string is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
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:59:53 +0000, based on results by cppcheck 1.41-modif