cppcheck analysis of ganglia_3.1.7-1.dsc
- ./gmetad/conf.c:166 [error] - Memory leak: dslist
- ./gmetad/conf.c:166 [error] - Memory leak: dslist.name
- ./gmetad/data_thread.c:130 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./gmetad/rrd_helpers.c:188 [error] - Dangerous usage of 'rrd' (strncpy doesn't always 0-terminate it)
- ./gmond/g25_config.c:377 [error] - Resource leak: fp
- ./lib/dotconf.c:363 [error] - Memory leak: here_doc
- ./lib/ganglia.c:166 [error] - Memory leak: e2
- ./lib/libgmond.c:754 [error] - Memory leak: path
- ./lib/readdir.c:103 [error] - Memory leak: dp
- ./lib/readdir.c:103 [error] - Memory leak: dp.dir
- ./libmetrics/cygwin/metrics.c:65 [error] - Common realloc mistake: "iftable" nulled but not freed upon failure
- ./libmetrics/darwin/metrics.c:1008 [error] - Common realloc mistake: "seen" nulled but not freed upon failure
- ./libmetrics/darwin/metrics.c:1009 [error] - Common realloc mistake: "lastcount" nulled but not freed upon failure
- ./libmetrics/dragonfly/metrics.c:1018 [error] - Common realloc mistake: "seen" nulled but not freed upon failure
- ./libmetrics/dragonfly/metrics.c:1019 [error] - Common realloc mistake: "lastcount" nulled but not freed upon failure
- ./libmetrics/freebsd/metrics.c:1183 [error] - Common realloc mistake: "seen" nulled but not freed upon failure
- ./libmetrics/freebsd/metrics.c:1184 [error] - Common realloc mistake: "lastcount" nulled but not freed upon failure
- ./libmetrics/netbsd/metrics.c:1171 [error] - Common realloc mistake: "seen" nulled but not freed upon failure
- ./libmetrics/netbsd/metrics.c:1172 [error] - Common realloc mistake: "lastcount" nulled but not freed upon failure
- ./libmetrics/openbsd/metrics.c:980 [error] - Common realloc mistake: "seen" nulled but not freed upon failure
- ./libmetrics/openbsd/metrics.c:981 [error] - Common realloc mistake: "lastcount" nulled but not freed upon failure
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:14:12 +0000, based on results by cppcheck 1.46