cppcheck analysis of net-snmp_5.4.2.1~dfsg-4.dsc
- ./agent/mibgroup/disman/expression/expValueTable.c:632 [error] - Memory leak: result
- ./agent/mibgroup/disman/expression/expValueTable.c:632 [error] - Memory leak: temp
- ./agent/mibgroup/disman/ping/pingCtlTable.c:1880 [error] - Memory leak: packet
- ./agent/mibgroup/disman/ping/pingCtlTable.c:1961 [error] - Memory leak: ai
- ./agent/mibgroup/disman/traceroute/traceRouteCtlTable.c:4450 [error] - Memory leak: outip
- ./agent/mibgroup/disman/traceroute/traceRouteCtlTable.c:5059 [error] - Memory leak: sendbuff
- ./agent/mibgroup/disman/traceroute/traceRouteCtlTable.c:6114 [error] - Resource leak: f
- ./agent/mibgroup/hardware/cpu/cpu_kstat.c:57 [error] - Array 'state[10]' index 14 out of bounds
- ./agent/mibgroup/hardware/cpu/cpu_kstat.c:60 [error] - Array 'state[10]' index 14 out of bounds
- ./agent/mibgroup/hardware/memory/memory_linux.c:46 [error] - Resource leak: statfd
- ./agent/mibgroup/if-mib/data_access/interface_linux.c:477 [error] - Resource leak: devin
- ./agent/mibgroup/ip-mib/data_access/ipaddress_ioctl.c:376 [error] - Memory leak: alias_list
- ./agent/mibgroup/mibII/mta_sendmail.c:1012 [error] - Resource leak: sendmailcf_fp
- ./agent/mibgroup/mibII/vacm_vars.c:1267 [error] - Uninitialized variable: newGroupName
- ./agent/mibgroup/sctp-mib/sctpScalars_linux.c:38 [error] - Resource leak: f
- ./agent/mibgroup/sctp-mib/sctpScalars_linux.c:144 [error] - Resource leak: f
- ./agent/mibgroup/smux/smux.c:151 [error] - Memory leak: aptr
- ./agent/mibgroup/ucd-snmp/diskio.c:769 [error] - Resource leak: parts
- ./agent/mibgroup/ucd-snmp/lmSensors.c:386 [error] - Uninitialized variable: res
- ./agent/mibgroup/ucd-snmp/vmstat_hpux.c:358 [possible error] - Memory leak: psp
- ./apps/encode_keychange.c:627 [error] - Resource leak: fp
- ./apps/snmptable.c:453 [error] - Memory leak: index_fmt
- ./apps/snmptrapd_log.c:1101 [error] - Memory leak: temp_buf
- ./snmplib/parse.c:2334 [error] - Memory leak: descr
- ./snmplib/winservice.c:766 [possible error] - Memory leak: ArgArray
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:12 +0000, based on results by cppcheck 1.41-modif