cppcheck analysis of quagga_0.99.18-1.dsc
- ./lib/command.c:3059 [error] - instance of "zlog" object destroyed immediately
- ./lib/if.c:667 [error] - instance of "zlog" object destroyed immediately
- ./lib/log.c:522 [error] - instance of "zlog" object destroyed immediately
- ./lib/log.c:615 [error] - instance of "zlog" object destroyed immediately
- ./lib/log.c:536 [error] - instance of "zlog" object destroyed immediately
- ./lib/log.c:541 [error] - instance of "zlog" object destroyed immediately
- ./lib/log.c:546 [error] - instance of "zlog" object destroyed immediately
- ./lib/memory.c:277 [error] - instance of "zlog" object destroyed immediately
- ./lib/memory.c:280 [error] - instance of "zlog" object destroyed immediately
- ./lib/pid_output.c:105 [error] - Resource leak: fd
- ./lib/prefix.c:116 [error] - instance of "zlog" object destroyed immediately
- ./lib/sockunion.c:257 [error] - instance of "zlog" object destroyed immediately
- ./lib/sockunion.c:405 [error] - instance of "zlog" object destroyed immediately
- ./lib/sockunion.c:450 [error] - instance of "zlog" object destroyed immediately
- ./lib/sockunion.c:465 [error] - instance of "zlog" object destroyed immediately
- ./lib/sockunion.c:626 [error] - instance of "zlog" object destroyed immediately
- ./lib/sockunion.c:520 [error] - instance of "zlog" object destroyed immediately
- ./lib/thread.c:705 [error] - instance of "zlog" object destroyed immediately
- ./lib/thread.c:728 [error] - instance of "zlog" object destroyed immediately
- ./lib/vty.c:2298 [error] - Resource leak: tmp
- ./lib/vty.c:215 [error] - instance of "zlog" object destroyed immediately
- ./lib/vty.c:1722 [error] - instance of "zlog" object destroyed immediately
- ./lib/vty.c:1765 [error] - instance of "zlog" object destroyed immediately
- ./lib/vty.c:1768 [error] - instance of "zlog" object destroyed immediately
- ./lib/vty.c:1900 [error] - instance of "zlog" object destroyed immediately
- ./lib/vty.c:2469 [error] - Uninitialized variable: vty
- ./lib/vty.c:1744 [error] - instance of "zlog" object destroyed immediately
- ./ospf6d/ospf6_message.c:196 [error] - Undefined behaviour: buf 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.
- ./ospfd/ospf_packet.c:2558 [error] - instance of "ospf_hello" object destroyed immediately
- ./ospfd/ospf_packet.c:2561 [error] - instance of "ospf_db_desc" object destroyed immediately
- ./ospfd/ospf_snmp.c:1715 [error] - Possible null pointer dereference: oi - otherwise it is redundant to check if oi is null at line 1718
- ./ospfd/ospf_snmp.c:2142 [error] - Uninitialized variable: ospf
- ./zebra/if_ioctl_solaris.c:59 [error] - instance of "zlog" object destroyed immediately
- ./zebra/if_ioctl_solaris.c:68 [error] - instance of "zlog" object destroyed immediately
- ./zebra/if_ioctl_solaris.c:80 [error] - instance of "zlog" object destroyed immediately
- ./zebra/if_ioctl_solaris.c:117 [error] - instance of "zlog" object destroyed immediately
- ./zebra/if_ioctl_solaris.c:129 [error] - instance of "zlog" object destroyed immediately
- ./zebra/if_ioctl_solaris.c:135 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl.c:58 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl.c:64 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl.c:71 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl.c:166 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl_solaris.c:54 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl_solaris.c:61 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ioctl_solaris.c:70 [error] - instance of "zlog" object destroyed immediately
- ./zebra/ipforward_ews.c:44 [error] - Resource leak: fd
- ./zebra/irdp_packet.c:291 [error] - Possible null pointer dereference: p
- ./zebra/kernel_socket.c:731 [error] - instance of "zlog" object destroyed immediately
- ./zebra/kernel_socket.c:757 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:126 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:135 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:143 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:148 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:167 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:179 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:186 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:190 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:201 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:230 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:250 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:259 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:263 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:296 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:303 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:309 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:350 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:395 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:403 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:408 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:991 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:1008 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:1198 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:1202 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:1206 [error] - instance of "zlog" object destroyed immediately
- ./zebra/rt_netlink.c:1884 [error] - instance of "zlog" object destroyed immediately
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 30 Mar 2011 06:58:14 +0000, based on results by cppcheck 1.46