cppcheck analysis of pcp_3.1.1.dsc
- ./src/libpcp/src/fetchlocal.c:77 [error] - Memory leak: ans
- ./src/libpcp/src/logmeta.c:447 [error] - Memory leak: dp
- ./src/libpcp/src/logmeta.c:447 [error] - Memory leak: tbuf
- ./src/libpcp/src/logmeta.c:447 [possible error] - Memory leak: tbuf
- ./src/libpcp/src/loop.c:305 [error] - Memory leak: ss
- ./src/libpcp/src/p_pmns.c:382 [possible error] - Memory leak: status
- ./src/libpcp/src/p_result.c:319 [error] - Invalid number of character (() when these macros are defined: 'HAVE_64BIT_PTR;DESPERATE'.
- ./src/libpcp/src/pmns.c:827 [error] - Memory leak: t
- ./src/libpcp/src/pmns.c:917 [error] - Memory leak: np
- ./src/libpcp/src/pmns.c:1343 [error] - Memory leak: np
- ./src/libpcp/src/pmns.c:2237 [possible error] - Memory leak: status
- ./src/libpcp/src/pmns.c:2217 [possible error] - Memory leak: r_statuslist
- ./src/libpcp/src/util.c:1090 [error] - Resource leak: dirp
- ./src/libpcp_gui/src/record.c:213 [possible error] - Resource leak: fd
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_DLFCN_H'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_DLOPEN'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_DL_H'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_STAT_TIMESPEC'.
- ./src/pmcd/src/config.c:1405 [error] - Uninitialized variable: fd
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_UN_H'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_SYS_WAIT_H'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'IS_MINGW'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'IS_MINGW;PMCD_INTERNAL'.
- ./src/pmcd/src/config.c:2339 [error] - Invalid number of character ({) when these macros are defined: 'PCP_DEBUG'.
- ./src/pmdas/aix/aix.c:68 [error] - No pair for character ("). Can't process file. File is either invalid or unicode, which is currently not supported.
- ./src/pmdas/cisco/probe.c:231 [possible error] - Memory leak: name
- ./src/pmdas/hotproc/src/config.c:133 [error] - Memory leak: ptr
- ./src/pmdas/linux/proc_interrupts.c:68 [error] - Resource leak: fp
- ./src/pmdas/linux/proc_net_tcp.c:53 [error] - Resource leak: fp
- ./src/pmdas/linux/proc_partitions.c:390 [error] - Resource leak: fp
- ./src/pmdas/linux/proc_slabinfo.c:62 [error] - Resource leak: fp
- ./src/pmdas/linux/proc_uptime.c:50 [error] - Resource leak: fd
- ./src/pmdas/sendmail/sendmail.c:361 [error] - Resource leak: fp
- ./src/pmdas/trace/app2.c:160 [error] - Resource leak: foo
- ./src/pmdas/trace/app3.c:160 [error] - Resource leak: foo
- ./src/pmdas/windows/instance.c:137 [possible error] - Memory leak: name
- ./src/pmimport/pmimport.c:518 [possible error] - Resource leak: dirp
- ./src/pmlogextract/metriclist.c:317 [possible error] - Memory leak: vlistp
- ./src/pmlogextract/metriclist.c:48 [error] - Data is allocated but not initialized: result
- ./src/pmlogger/pmlogger.c:422 [error] - Mismatching allocation and deallocation: msgf
- ./src/pmlogger/preamble.c:169 [error] - Memory leak: instid
- ./src/pmns/pmnsmerge.c:102 [error] - Memory leak: tab
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:00:05 +0000, based on results by cppcheck 1.41-modif