cppcheck analysis of icinga_1.3.0-1.dsc
- ./base/checks.c:268 [error] - Mismatching allocation and deallocation: fp
- ./base/commands.c:789 [error] - Memory leak: username
- ./base/commands.c:3352 [error] - Memory leak: varvalue
- ./base/icinga.c:470 [error] - Common realloc mistake: "config_file" nulled but not freed upon failure
- ./base/notifications.c:1031 [error] - Possible null pointer dereference: svc
- ./base/notifications.c:1050 [error] - Possible null pointer dereference: hst
- ./base/profiler.c:142 [error] - Common realloc mistake: "profiler" nulled but not freed upon failure
- ./base/utils.c:2407 [error] - Resource leak: lockfile
- ./cgi/config.c:3234 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/extinfo.c:637 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/extinfo.c:913 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/extinfo.c:2522 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/extinfo.c:2684 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/extinfo.c:2894 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/notifications.c:505 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/outages.c:332 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/status.c:1388 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/status.c:2046 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/statuswrl.c:919 [error] - Memory leak: vrml_safe_hostname
- ./cgi/summary.c:1695 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/summary.c:1781 [error] - Allocation with strdup, printf doesn't release it.
- ./cgi/summary.c:2053 [error] - Allocation with strdup, printf doesn't release it.
- ./common/shared.c:265 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./module/icinga-api/contrib/idoliteutils/src/idolite2db.c:134 [error] - Memory leak: dir_file
- ./module/idoutils/src/db.c:2266 [error] - Possible null pointer dereference: newbuf
- ./module/idoutils/src/db.c:2266 [error] - Uninitialized variable: y
- ./module/idoutils/src/db.c:1219 [error] - Memory leak: name
- ./module/idoutils/src/db.c:6054 [error] - Memory leak: oci_tmp
- ./module/idoutils/src/db.c:465 [error] - Memory leak: temp_port
- ./module/idoutils/src/ido2db.c:806 [error] - Resource leak: lockfile
- ./xdata/xrddefault.c:281 [error] - Memory leak: temp_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, 17 Feb 2011 06:58:05 +0000, based on results by cppcheck 1.46