cppcheck analysis of xorp_1.5-6.dsc
- ./bgp/harness/peer.cc:577 [error] - Memory leak: buf
- ./bgp/harness/peer.cc:1792 [possible error] - Memory leak: pac
- ./bgp/harness/peer.cc:1715 [possible error] - Memory leak: AnyAttribute::_data
- ./bgp/path_attribute.hh:298 [possible error] - Memory leak: ASPathAttribute::_as_path
- ./bgp/path_attribute.hh:325 [possible error] - Memory leak: AS4PathAttribute::_as_path
- ./bgp/path_attribute.hh:626 [possible error] - Memory leak: UnknownAttribute::_data
- ./bgp/peer.cc:2495 [error] - Mismatching allocation and deallocation: buf
- ./bgp/peer.hh:288 [possible error] - Memory leak: BGPPeer::_handler
- ./bgp/socket.hh:51 [error] - Class Socket which is inherited by class SocketClient does not have a virtual destructor
- ./bgp/test_packet.cc:172 [possible error] - Memory leak: openpacket
- ./bgp/test_packet.cc:214 [possible error] - Memory leak: updatepacket
- ./bgp/test_packet.cc:256 [possible error] - Memory leak: updatepacket
- ./bgp/test_packet.cc:297 [possible error] - Memory leak: notificationpacket
- ./cli/libtecla/history.c:161 [error] - Memory leak: glh.buffer
- ./cli/libtecla/keytab.c:93 [error] - Memory leak: kt.table
- ./contrib/olsr/emulate_net.cc:286 [possible error] - Memory leak: pkt
- ./contrib/olsr/message.cc:764 [possible error] - Memory leak: message
- ./contrib/olsr/message.cc:783 [possible error] - Memory leak: message
- ./contrib/olsr/test_message.cc:334 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:372 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:410 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:448 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:487 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_simulator.cc:1828 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:284 [possible error] - Memory leak: FeaDataPlaneManagerClick::_ifconfig_property_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:285 [possible error] - Memory leak: FeaDataPlaneManagerClick::_ifconfig_get_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:286 [possible error] - Memory leak: FeaDataPlaneManagerClick::_ifconfig_set_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:287 [possible error] - Memory leak: FeaDataPlaneManagerClick::_firewall_get_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:288 [possible error] - Memory leak: FeaDataPlaneManagerClick::_firewall_set_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:289 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_forwarding_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:290 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_entry_get_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:291 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_entry_set_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:292 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_table_get_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:293 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_table_set_click
- ./libproto/test_config_node_id.cc:385 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:389 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:393 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:399 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:410 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:414 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_spt.cc:232 [possible error] - Memory leak: spt
- ./libxipc/finder_tcp_messenger.hh:105 [error] - Class FinderTcpConnector which is inherited by class FinderTcpAutoConnector does not have a virtual destructor
- ./libxipc/test_finder.cc:250 [possible error] - Memory leak: finder_box
- ./libxipc/test_xrl_sender.cc:723 [possible error] - Memory leak: test_receiver
- ./libxorp/popen.cc:279 [possible error] - Memory leak: cur
- ./libxorp/popen.cc:211 [possible error] - Memory leak: cur
- ./mrt/test_mrib.cc:155 [possible error] - Memory leak: mrib1
- ./mrt/test_mrib.cc:155 [possible error] - Memory leak: mrib2
- ./mrt/test_mrib.cc:155 [possible error] - Memory leak: mrib3
- ./mrt/test_mrib.cc:221 [possible error] - Memory leak: mrib1
- ./mrt/test_mrib.cc:221 [possible error] - Memory leak: mrib2
- ./mrt/test_mrib.cc:221 [possible error] - Memory leak: mrib3
- ./mrt/test_mrib.cc:287 [possible error] - Memory leak: mrib1
- ./mrt/test_mrib.cc:287 [possible error] - Memory leak: mrib2
- ./mrt/test_mrib.cc:287 [possible error] - Memory leak: mrib3
- ./ospf/test_packet.cc:572 [possible error] - Memory leak: rlsa
- ./ospf/test_packet.cc:580 [possible error] - Memory leak: nlsa
- ./ospf/test_packet.cc:588 [possible error] - Memory leak: snlsa
- ./ospf/test_packet.cc:596 [possible error] - Memory leak: srlsa
- ./ospf/test_packet.cc:604 [possible error] - Memory leak: aelsa
- ./ospf/test_packet.cc:668 [possible error] - Memory leak: hello1
- ./ospf/test_packet.cc:668 [possible error] - Memory leak: hello2
- ./ospf/test_packet.cc:744 [possible error] - Memory leak: ddp1
- ./ospf/test_packet.cc:744 [possible error] - Memory leak: ddp2
- ./ospf/test_packet.cc:828 [possible error] - Memory leak: lsup1
- ./ospf/test_packet.cc:828 [possible error] - Memory leak: lsup2
- ./ospf/test_packet.cc:907 [possible error] - Memory leak: lsrp1
- ./ospf/test_packet.cc:907 [possible error] - Memory leak: lsrp2
- ./ospf/test_packet.cc:988 [possible error] - Memory leak: lsrp1
- ./ospf/test_packet.cc:988 [possible error] - Memory leak: lsrp2
- ./ospf/test_packet.cc:1322 [possible error] - Memory leak: rlsa1
- ./ospf/test_packet.cc:1322 [possible error] - Memory leak: rlsa2
- ./ospf/test_packet.cc:1368 [possible error] - Memory leak: nlsa1
- ./ospf/test_packet.cc:1368 [possible error] - Memory leak: nlsa2
- ./ospf/test_packet.cc:1414 [possible error] - Memory leak: snlsa1
- ./ospf/test_packet.cc:1414 [possible error] - Memory leak: snlsa2
- ./ospf/test_packet.cc:1460 [possible error] - Memory leak: srlsa1
- ./ospf/test_packet.cc:1460 [possible error] - Memory leak: srlsa2
- ./ospf/test_packet.cc:1506 [possible error] - Memory leak: aelsa1
- ./ospf/test_packet.cc:1506 [possible error] - Memory leak: aelsa2
- ./ospf/test_packet.cc:1552 [possible error] - Memory leak: type71
- ./ospf/test_packet.cc:1552 [possible error] - Memory leak: type72
- ./ospf/test_packet.cc:1598 [possible error] - Memory leak: llsa1
- ./ospf/test_packet.cc:1598 [possible error] - Memory leak: llsa2
- ./ospf/test_packet.cc:1644 [possible error] - Memory leak: iaplsa1
- ./ospf/test_packet.cc:1644 [possible error] - Memory leak: iaplsa2
- ./policy/backend/version_filter.cc:65 [possible error] - Memory leak: pf
- ./policy/common/register_operations.cc:266 [possible error] - Memory leak: path
- ./policy/common/register_operations.cc:283 [possible error] - Memory leak: path
- ./rtrmgr/main_rtrmgr.cc:372 [possible error] - Memory leak: xrldb
- ./rtrmgr/main_rtrmgr.cc:237 [possible error] - Memory leak: tt
- ./rtrmgr/main_rtrmgr.cc:372 [possible error] - Memory leak: fs
- ./rtrmgr/main_rtrmgr.hh:64 [possible error] - Memory leak: Rtrmgr::_xrt
- ./rtrmgr/master_conf_tree.cc:430 [error] - Dereferenced iterator 'mod_iter' has been erased
- ./rtrmgr/master_conf_tree.cc:431 [error] - Dereferenced iterator 'mod_iter' has been erased
- ./rtrmgr/xrl_rtrmgr_interface.cc:173 [error] - Resource leak: file
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 06:04:02 +0000, based on results by cppcheck 1.41-modif