cppcheck analysis of xorp_1.6-1.dsc
- ./bgp/harness/peer.cc:586 [error] - Memory leak: buf
- ./bgp/harness/peer.cc:1830 [possible error] - Memory leak: pac
- ./bgp/harness/peer.cc:1753 [possible error] - Memory leak: AnyAttribute::_data
- ./bgp/path_attribute.hh:318 [possible error] - Memory leak: ASPathAttribute::_as_path
- ./bgp/path_attribute.hh:345 [possible error] - Memory leak: AS4PathAttribute::_as_path
- ./bgp/path_attribute.hh:646 [possible error] - Memory leak: UnknownAttribute::_data
- ./bgp/peer.cc:2494 [error] - Mismatching allocation and deallocation: buf
- ./bgp/peer.hh:294 [possible error] - Memory leak: BGPPeer::_handler
- ./bgp/socket.hh:56 [error] - Class Socket which is inherited by class SocketClient does not have a virtual destructor
- ./bgp/test_packet.cc:177 [possible error] - Memory leak: openpacket
- ./bgp/test_packet.cc:225 [possible error] - Memory leak: updatepacket
- ./bgp/test_packet.cc:271 [possible error] - Memory leak: updatepacket
- ./bgp/test_packet.cc:312 [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:291 [possible error] - Memory leak: pkt
- ./contrib/olsr/message.cc:769 [possible error] - Memory leak: message
- ./contrib/olsr/message.cc:788 [possible error] - Memory leak: message
- ./contrib/olsr/test_message.cc:339 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:377 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:415 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:453 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_message.cc:492 [possible error] - Memory leak: pkt
- ./contrib/olsr/test_simulator.cc:1833 [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:289 [possible error] - Memory leak: FeaDataPlaneManagerClick::_ifconfig_property_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:290 [possible error] - Memory leak: FeaDataPlaneManagerClick::_ifconfig_get_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:291 [possible error] - Memory leak: FeaDataPlaneManagerClick::_ifconfig_set_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:292 [possible error] - Memory leak: FeaDataPlaneManagerClick::_firewall_get_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:293 [possible error] - Memory leak: FeaDataPlaneManagerClick::_firewall_set_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:294 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_forwarding_dummy
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:295 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_entry_get_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:296 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_entry_set_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:297 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_table_get_click
- ./fea/data_plane/managers/fea_data_plane_manager_click.hh:298 [possible error] - Memory leak: FeaDataPlaneManagerClick::_fibconfig_table_set_click
- ./libproto/test_config_node_id.cc:391 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:395 [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:405 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:416 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_config_node_id.cc:420 [error] - Dereferenced iterator 'iter' has been erased
- ./libproto/test_spt.cc:238 [possible error] - Memory leak: spt
- ./libxipc/finder_tcp_messenger.hh:111 [error] - Class FinderTcpConnector which is inherited by class FinderTcpAutoConnector does not have a virtual destructor
- ./libxipc/test_finder.cc:256 [possible error] - Memory leak: finder_box
- ./libxipc/test_xrl_sender.cc:723 [possible error] - Memory leak: test_receiver
- ./libxorp/task.hh:102 [possible error] - Memory leak: XorpTask::_task_node
- ./libxorp/timer.hh:180 [possible error] - Memory leak: XorpTimer::_node
- ./libxorp/popen.cc:285 [possible error] - Memory leak: cur
- ./libxorp/popen.cc:217 [possible error] - Memory leak: cur
- ./libxorp/profile.cc:61 [possible error] - Memory leak: p
- ./libxorp/round_robin.hh:31 [error] - Class RoundRobinObjBase which is inherited by class TaskNode does not have a virtual destructor
- ./mrt/test_mrib.cc:160 [possible error] - Memory leak: mrib1
- ./mrt/test_mrib.cc:160 [possible error] - Memory leak: mrib2
- ./mrt/test_mrib.cc:160 [possible error] - Memory leak: mrib3
- ./mrt/test_mrib.cc:226 [possible error] - Memory leak: mrib1
- ./mrt/test_mrib.cc:226 [possible error] - Memory leak: mrib2
- ./mrt/test_mrib.cc:226 [possible error] - Memory leak: mrib3
- ./mrt/test_mrib.cc:292 [possible error] - Memory leak: mrib1
- ./mrt/test_mrib.cc:292 [possible error] - Memory leak: mrib2
- ./mrt/test_mrib.cc:292 [possible error] - Memory leak: mrib3
- ./ospf/test_packet.cc:577 [possible error] - Memory leak: rlsa
- ./ospf/test_packet.cc:585 [possible error] - Memory leak: nlsa
- ./ospf/test_packet.cc:593 [possible error] - Memory leak: snlsa
- ./ospf/test_packet.cc:601 [possible error] - Memory leak: srlsa
- ./ospf/test_packet.cc:609 [possible error] - Memory leak: aelsa
- ./ospf/test_packet.cc:673 [possible error] - Memory leak: hello1
- ./ospf/test_packet.cc:673 [possible error] - Memory leak: hello2
- ./ospf/test_packet.cc:749 [possible error] - Memory leak: ddp1
- ./ospf/test_packet.cc:749 [possible error] - Memory leak: ddp2
- ./ospf/test_packet.cc:833 [possible error] - Memory leak: lsup1
- ./ospf/test_packet.cc:833 [possible error] - Memory leak: lsup2
- ./ospf/test_packet.cc:912 [possible error] - Memory leak: lsrp1
- ./ospf/test_packet.cc:912 [possible error] - Memory leak: lsrp2
- ./ospf/test_packet.cc:993 [possible error] - Memory leak: lsrp1
- ./ospf/test_packet.cc:993 [possible error] - Memory leak: lsrp2
- ./ospf/test_packet.cc:1327 [possible error] - Memory leak: rlsa1
- ./ospf/test_packet.cc:1327 [possible error] - Memory leak: rlsa2
- ./ospf/test_packet.cc:1373 [possible error] - Memory leak: nlsa1
- ./ospf/test_packet.cc:1373 [possible error] - Memory leak: nlsa2
- ./ospf/test_packet.cc:1419 [possible error] - Memory leak: snlsa1
- ./ospf/test_packet.cc:1419 [possible error] - Memory leak: snlsa2
- ./ospf/test_packet.cc:1465 [possible error] - Memory leak: srlsa1
- ./ospf/test_packet.cc:1465 [possible error] - Memory leak: srlsa2
- ./ospf/test_packet.cc:1511 [possible error] - Memory leak: aelsa1
- ./ospf/test_packet.cc:1511 [possible error] - Memory leak: aelsa2
- ./ospf/test_packet.cc:1557 [possible error] - Memory leak: type71
- ./ospf/test_packet.cc:1557 [possible error] - Memory leak: type72
- ./ospf/test_packet.cc:1603 [possible error] - Memory leak: llsa1
- ./ospf/test_packet.cc:1603 [possible error] - Memory leak: llsa2
- ./ospf/test_packet.cc:1649 [possible error] - Memory leak: iaplsa1
- ./ospf/test_packet.cc:1649 [possible error] - Memory leak: iaplsa2
- ./policy/backend/version_filter.cc:70 [possible error] - Memory leak: pf
- ./policy/common/register_operations.cc:301 [possible error] - Memory leak: path
- ./policy/common/register_operations.cc:318 [possible error] - Memory leak: path
- ./rtrmgr/main_rtrmgr.cc:398 [possible error] - Memory leak: xrldb
- ./rtrmgr/main_rtrmgr.cc:256 [possible error] - Memory leak: tt
- ./rtrmgr/main_rtrmgr.cc:398 [possible error] - Memory leak: fs
- ./rtrmgr/master_conf_tree.cc:440 [error] - Dereferenced iterator 'mod_iter' has been erased
- ./rtrmgr/master_conf_tree.cc:441 [error] - Dereferenced iterator 'mod_iter' has been erased
- ./rtrmgr/xrl_rtrmgr_interface.cc:178 [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