cppcheck analysis of 4g8_1.0-3.dsc
- ./src/arp_cache.c:61 [error] - Memory leak: hw_addr
- ./src/icmpv4_hdr.c:58 [error] - Memory leak: s_addr
- ./src/icmpv4_hdr.c:59 [error] - Memory leak: d_addr
- ./src/ipv4_hdr.c:37 [error] - Memory leak: s_addr
- ./src/ipv4_hdr.c:38 [error] - Memory leak: d_addr
- ./src/tcp_hdr.c:47 [error] - Buffer access out-of-bounds: flags
- ./src/tcp_hdr.c:50 [error] - Buffer access out-of-bounds: flags
- ./src/tcp_hdr.c:53 [error] - Buffer access out-of-bounds: flags
- ./src/tcp_hdr.c:56 [error] - Buffer access out-of-bounds: flags
- ./src/tcp_hdr.c:59 [error] - Buffer access out-of-bounds: flags
- ./src/tcp_hdr.c:62 [error] - Buffer access out-of-bounds: flags
- ./src/tcp_hdr.c:106 [error] - Memory leak: port_src
- ./src/tcp_hdr.c:106 [error] - Memory leak: port_dst
- ./src/utils.c:468 [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.
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:12:10 +0000, based on results by cppcheck 1.46