cppcheck analysis of opensaf_4.0.0~B4-2.dsc
- ./osaf/libs/agents/infrastructure/fma/fma_init.c:112 [error] - Possible null pointer dereference: node
- ./osaf/libs/agents/infrastructure/fma/fma_init.c:200 [error] - Possible null pointer dereference: node
- ./osaf/libs/agents/saf/eda/eda_saf_api.c:2862 [error] - Possible null pointer dereference: o_msg - otherwise it is redundant to check if o_msg is null at line 2866
- ./osaf/libs/agents/saf/imma/imma_oi_api.c:337 [possible error] - Memory leak: cl_node
- ./osaf/libs/common/avsv/avsv_d2nmsg.c:504 [error] - Memory leak: d_compcsi_info
- ./osaf/libs/core/leap/os_defs.c:1986 [error] - Resource leak: stats_file
- ./osaf/services/infrastructure/hisv/hcd/hsm/hsm.c:575 [error] - Uninitialized variable: session_id
- ./osaf/services/infrastructure/hisv/hcd/hsm/hsm.c:1490 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_HPI_A01'.
- ./osaf/services/infrastructure/nid/nodeinit.c:1473 [possible error] - Resource leak: fp
- ./osaf/services/saf/avsv/avd/avd_avmmsg.c:96 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_chkop.c:805 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_compcstype.c:210 [error] - Memory leak: cstype_name
- ./osaf/services/saf/avsv/avd/avd_compcstype.c:263 [error] - Memory leak: cstype_name
- ./osaf/services/saf/avsv/avd/avd_dmsg.c:107 [error] - Memory leak: d2d_msg
- ./osaf/services/saf/avsv/avd/avd_dmsg.c:200 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_mds.c:597 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_ndmsg.c:139 [error] - Memory leak: dst_msg
- ./osaf/services/saf/avsv/avd/avd_ndmsg.c:421 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_pg.c:204 [error] - Memory leak: pg_csi_node
- ./osaf/services/saf/avsv/avd/avd_pg.c:204 [error] - Memory leak: pg_node_csi
- ./osaf/services/saf/avsv/avd/avd_role.c:696 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_role.c:883 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_siDep.c:463 [error] - Memory leak: evt
- ./osaf/services/saf/avsv/avd/avd_util.c:117 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:168 [possible error] - Resource leak: fp
- ./osaf/services/saf/avsv/avd/avd_util.c:265 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:329 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:400 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:483 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:553 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:617 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:697 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:742 [possible error] - Memory leak: op_req_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:930 [error] - Memory leak: su_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:942 [error] - Memory leak: comp_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1117 [error] - Memory leak: su_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1197 [error] - Memory leak: comp_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1353 [error] - Memory leak: susi_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1522 [error] - Memory leak: compcsi_info
- ./osaf/services/saf/avsv/avd/avd_util.c:1622 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1884 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1946 [error] - Memory leak: d2d_msg
- ./osaf/services/saf/avsv/avd/avd_util.c:1999 [error] - Memory leak: d2n_msg
- ./osaf/services/saf/avsv/avnd/avnd_clm.c:175 [error] - Memory leak: cla_msg
- ./osaf/services/saf/avsv/avnd/avnd_clm.c:259 [error] - Memory leak: cla_msg
- ./osaf/services/saf/avsv/avnd/avnd_clm.c:336 [error] - Memory leak: cla_msg
- ./osaf/services/saf/avsv/avnd/avnd_compdb.c:510 [error] - Possible null pointer dereference: comp
- ./osaf/services/saf/avsv/avnd/avnd_compdb.c:1565 [error] - Uninitialized variable: res
- ./osaf/services/saf/avsv/avnd/avnd_proxy.c:295 [error] - Possible null pointer dereference: info
- ./osaf/services/saf/cpsv/cpd/cpd_evt.c:291 [error] - Possible null pointer dereference: ckpt_node
- ./osaf/services/saf/immsv/immnd/ImmModel.cc:3797 [possible error] - Memory leak: afim
- ./osaf/services/saf/immsv/immnd/ImmModel.cc:5528 [error] - Same iterator is used with both ccbsToGc and sCcbVector
- ./osaf/services/saf/immsv/immnd/ImmModel.cc:5530 [error] - Same iterator is used with both ccbsToGc and sCcbVector
- ./osaf/services/saf/immsv/immnd/immnd_evt.c:1575 [error] - Memory leak: cl_node
- ./osaf/services/saf/logsv/lgs/lgs_mds.c:367 [error] - Memory leak: logSvcUsrName
- ./osaf/services/saf/mqsv/mqd/mqd_imm.c:84 [possible error] - Memory leak: dndup
- ./osaf/services/saf/mqsv/mqnd/mqnd_evt.c:837 [error] - Possible null pointer dereference: qnode
- ./osaf/services/saf/mqsv/mqnd/mqnd_proc.c:460 [error] - Possible null pointer dereference: open
- ./osaf/services/saf/smfsv/smfd/SmfCampaign.cc:672 [error] - Dangerous iterator usage. After erase the iterator is invalid so dereferencing it or comparing it with another iterator is invalid.
- ./osaf/services/saf/smfsv/smfd/SmfUpgradeProcedure.cc:486 [possible error] - Memory leak: newStep
- ./osaf/tools/safimm/immcfg/imm_cfg.c:155 [error] - Memory leak: tmp
- ./osaf/tools/safimm/immcfg/imm_cfg.c:313 [error] - Memory leak: str
- ./osaf/tools/safimm/immcfg/imm_cfg.c:202 [error] - Memory leak: attrValue.attrName
- ./osaf/tools/safimm/immcfg/imm_cfg.c:152 [error] - Uninitialized variable: attrMod
- ./osaf/tools/safimm/immload/imm_pbe_load.cc:319 [error] - Memory leak: class_info
- ./tests/avsv/amfoitest/amfoitest.c:112 [error] - Memory leak: tmp
- ./tests/avsv/amfoitest/amfoitest.c:245 [error] - Memory leak: str
- ./tests/avsv/amfoitest/amfoitest.c:165 [error] - Memory leak: attrValue.attrName
- ./tests/avsv/amfoitest/amfoitest.c:109 [error] - Uninitialized variable: attrMod
- ./tests/avsv/src/tet_saf.c:745 [error] - Memory leak: comp_name
- ./tests/common/src/tet_init.c:146 [error] - Uninitialized variable: rc
- ./tests/edsv/src/tet_edsv_func.c:2011 [error] - Uninitialized variable: iCmpCount
- ./tests/edsv/src/tet_edsv_func.c:3581 [error] - Uninitialized variable: iCmpCount
- ./tests/edsv/src/tet_edsv_func.c:4250 [error] - Uninitialized variable: iCmpCount
- ./tests/mds/src/tet_mdstipc_api.c:2892 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:2925 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:2954 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3541 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3576 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3616 [error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3713 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3753 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3790 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3837 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:3934 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:4360 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:4817 [possible error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:4846 [error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:4878 [error] - Memory leak: mesg
- ./tests/mds/src/tet_mdstipc_api.c:5139 [possible error] - Memory leak: mesg
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:45 +0000, based on results by cppcheck 1.41-modif