cppcheck analysis of nagios3_3.2.3-1.dsc
- ./base/checks.c:158 [error] - Possible null pointer dereference: queued_check_result - otherwise it is redundant to check if queued_check_result is null at line 170
- ./base/checks.c:161 [error] - Possible null pointer dereference: queued_check_result - otherwise it is redundant to check if queued_check_result is null at line 170
- ./base/checks.c:163 [error] - Possible null pointer dereference: queued_check_result - otherwise it is redundant to check if queued_check_result is null at line 170
- ./base/checks.c:166 [error] - Possible null pointer dereference: queued_check_result - otherwise it is redundant to check if queued_check_result is null at line 170
- ./base/commands.c:4967 [error] - Memory leak: checkresult_file
- ./base/nagios.c:456 [error] - Common realloc mistake: "config_file" nulled but not freed upon failure
- ./base/nebmods.c:631 [error] - Possible null pointer dereference: temp_callback - otherwise it is redundant to check if temp_callback is null at line 632
- ./base/nebmods.c:205 [error] - Memory leak: output_file
- ./base/utils.c:2655 [error] - Possible null pointer dereference: this_cr - otherwise it is redundant to check if this_cr is null at line 2657
- ./base/utils.c:4642 [error] - Possible null pointer dereference: this_event - otherwise it is redundant to check if this_event is null at line 4643
- ./base/utils.c:4723 [error] - Possible null pointer dereference: temp_notification - otherwise it is redundant to check if temp_notification is null at line 4724
- ./base/utils.c:3541 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./base/utils.c:2124 [error] - Resource leak: lockfile
- ./base/utils.c:4486 [error] - Memory leak: buf
- ./cgi/cgiutils.c:1292 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./cgi/cgiutils.c:1163 [error] - Memory leak: new_mmapfile
- ./cgi/statuswrl.c:932 [error] - Memory leak: vrml_safe_hostname
- ./common/objects.c:3625 [error] - Possible null pointer dereference: this_timerange - otherwise it is redundant to check if this_timerange is null at line 3626
- ./common/objects.c:2985 [error] - Possible null pointer dereference: this_objectlist - otherwise it is redundant to check if this_objectlist is null at line 2986
- ./xdata/xodtemplate.c:14501 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./xdata/xodtemplate.c:14679 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./xdata/xodtemplate.c:14858 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./xdata/xrddefault.c:284 [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 Tue, 21 Dec 2010 21:58:09 +0000, based on results by cppcheck 1.46