cppcheck analysis of nagios-plugins_1.4.15-2.dsc
- ./contrib/check_cpqarray.c:303 [error] - Resource leak: devicefd
- ./contrib/check_http-with-client-certificate.c:1167 [error] - Common realloc mistake: "url_path" nulled but not freed upon failure
- ./contrib/check_http-with-client-certificate.c:834 [error] - Memory leak: buffer
- ./contrib/check_http-with-client-certificate.c:885 [error] - Memory leak: content
- ./contrib/check_http-with-client-certificate.c:885 [error] - Memory leak: basic_auth_encoded
- ./contrib/check_http-with-client-certificate.c:1180 [error] - Memory leak: url_path
- ./contrib/check_http-with-client-certificate.c:1244 [error] - Memory leak: buffer
- ./contrib/check_http-with-client-certificate.c:1328 [error] - Memory leak: content
- ./contrib/check_http-with-client-certificate.c:1328 [error] - Memory leak: basic_auth_encoded
- ./gl/getaddrinfo.c:327 [error] - Memory leak: storage
- ./gl/getaddrinfo.c:328 [error] - Memory leak: storage
- ./gl/regcomp.c:2797 [error] - Uninitialized variable: symb_table
- ./gl/regexec.c:3908 [error] - Uninitialized variable: extra
- ./lib/tests/test_cmd.c:34 [error] - Memory leak: cmd
- ./lib/tests/test_ini1.c:40 [error] - Memory leak: optstr
- ./lib/utils_cmd.c:311 [error] - Memory leak: cmd
- ./lib/utils_cmd.c:394 [error] - Resource leak: fd
- ./plugins-root/pst3.c:224 [error] - Common realloc mistake: "args" nulled but not freed upon failure
- ./plugins/check_by_ssh.c:239 [error] - Common realloc mistake: "service" nulled but not freed upon failure
- ./plugins/check_by_ssh.c:243 [error] - Common realloc mistake: "service" nulled but not freed upon failure
- ./plugins/check_by_ssh.c:155 [error] - Resource leak: fp
- ./plugins/check_disk.c:401 [error] - Memory leak: output
- ./plugins/check_disk.c:422 [error] - Memory leak: details
- ./plugins/check_disk.c:422 [error] - Memory leak: perf
- ./plugins/check_disk.c:422 [error] - Memory leak: preamble
- ./plugins/check_dns.c:125 [error] - Common realloc mistake: "addresses" nulled but not freed upon failure
- ./plugins/check_dns.c:257 [error] - Memory leak: msg
- ./plugins/check_dns.c:208 [error] - Memory leak: temp_buffer
- ./plugins/check_fping.c:139 [error] - Memory leak: input_buffer
- ./plugins/check_fping.c:139 [error] - Memory leak: option_string
- ./plugins/check_hpjd.c:129 [error] - Memory leak: errmsg
- ./plugins/check_http.c:283 [error] - Common realloc mistake: "http_opt_headers" nulled but not freed upon failure
- ./plugins/check_http.c:842 [error] - Memory leak: buf
- ./plugins/check_mrtgtraf.c:209 [error] - Memory leak: error_message
- ./plugins/check_mysql.c:232 [error] - Memory leak: result
- ./plugins/check_nt.c:374 [error] - Memory leak: output_message
- ./plugins/check_nt.c:162 [error] - Memory leak: perfdata
- ./plugins/check_nt.c:463 [error] - Memory leak: temp_string
- ./plugins/check_nt.c:162 [error] - Memory leak: temp_string_perf
- ./plugins/check_ntp.c:830 [error] - Memory leak: result_line
- ./plugins/check_ntp.c:829 [error] - Memory leak: perfdata_line
- ./plugins/check_ntp_peer.c:646 [error] - Memory leak: result_line
- ./plugins/check_ntp_peer.c:645 [error] - Memory leak: perfdata_line
- ./plugins/check_ntp_time.c:590 [error] - Memory leak: result_line
- ./plugins/check_ntp_time.c:589 [error] - Memory leak: perfdata_line
- ./plugins/check_nwstat.c:568 [error] - Memory leak: output_message
- ./plugins/check_nwstat.c:221 [error] - Memory leak: temp_buffer
- ./plugins/check_nwstat.c:1302 [error] - Memory leak: netware_version
- ./plugins/check_ping.c:255 [error] - Common realloc mistake: "addresses" nulled but not freed upon failure
- ./plugins/check_procs.c:305 [error] - Memory leak: input_buffer
- ./plugins/check_smtp.c:540 [error] - Common realloc mistake: "commands" nulled but not freed upon failure
- ./plugins/check_smtp.c:552 [error] - Common realloc mistake: "responses" nulled but not freed upon failure
- ./plugins/check_smtp.c:447 [error] - Memory leak: error_msg
- ./plugins/check_snmp.c:523 [error] - Common realloc mistake: "state_string" nulled but not freed upon failure
- ./plugins/check_snmp.c:740 [error] - Common realloc mistake: "labels" nulled but not freed upon failure
- ./plugins/check_snmp.c:752 [error] - Common realloc mistake: "labels" nulled but not freed upon failure
- ./plugins/check_snmp.c:769 [error] - Common realloc mistake: "unitv" nulled but not freed upon failure
- ./plugins/check_snmp.c:781 [error] - Common realloc mistake: "unitv" nulled but not freed upon failure
- ./plugins/check_snmp.c:276 [error] - Memory leak: cl_hidden_auth
- ./plugins/check_snmp.c:378 [error] - Memory leak: mult_resp
- ./plugins/check_snmp.c:549 [error] - Memory leak: outbuff
- ./plugins/check_swap.c:367 [error] - Memory leak: status
- ./plugins/check_tcp.c:278 [error] - Common realloc mistake: "status" nulled but not freed upon failure
- ./plugins/check_tcp.c:481 [error] - Common realloc mistake: "crit_codes" nulled but not freed upon failure
- ./plugins/check_tcp.c:485 [error] - Common realloc mistake: "warn_codes" nulled but not freed upon failure
- ./plugins/check_tcp.c:514 [error] - Common realloc mistake: "server_expect" nulled but not freed upon failure
- ./plugins/check_ups.c:132 [error] - Memory leak: message
- ./plugins/check_ups.c:132 [error] - Memory leak: data
- ./plugins/check_users.c:74 [error] - Memory leak: perf
- ./plugins/popen.c:131 [error] - Memory leak: cmd
- ./plugins/runcmd.c:148 [error] - Memory leak: cmd
- ./plugins/urlize.c:156 [error] - Memory leak: url
- ./plugins/urlize.c:104 [error] - Memory leak: cmd
- ./plugins/urlize.c:156 [error] - Memory leak: buf
- ./plugins/utils.c:544 [error] - Memory leak: data
- ./plugins/utils.c:580 [error] - Memory leak: data
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Mon, 20 Dec 2010 21:17:13 +0000, based on results by cppcheck 1.46