cppcheck analysis of xymon_4.3.0~beta2.dfsg-6+squeeze1.dsc
- ./bbdisplay/pagegen.c:539 [error] - Resource leak: htmlrep
- ./bbdisplay/pagegen.c:539 [error] - Resource leak: textrep
- ./bbdisplay/pagegen.c:836 [error] - Memory leak: mkbblocal
- ./bbdisplay/pagegen.c:1117 [error] - Resource leak: output
- ./bbnet/bbtest-net.c:1054 [error] - Common realloc mistake: "pingcmd" nulled but not freed upon failure
- ./bbnet/bbtest-net.c:2397 [error] - Memory leak: egocolumn
- ./bbnet/httpresult.c:416 [error] - Memory leak: conttest
- ./bbproxy/bbproxy.c:363 [error] - Common realloc mistake: "proxyname" nulled but not freed upon failure
- ./bbproxy/bbproxy.c:1219 [error] - Memory leak: proxyname
- ./build/merge-lines.c:163 [error] - Memory leak: curbckfn
- ./build/merge-lines.c:163 [error] - Memory leak: srcfn
- ./build/merge-lines.c:104 [error] - Resource leak: curfd
- ./build/merge-lines.c:66 [error] - Resource leak: curbckfd
- ./build/merge-lines.c:105 [error] - Resource leak: srcfd
- ./build/merge-sects.c:157 [error] - Memory leak: curbckfn
- ./build/merge-sects.c:157 [error] - Memory leak: srcfn
- ./build/merge-sects.c:118 [error] - Resource leak: curfd
- ./build/merge-sects.c:70 [error] - Resource leak: curbckfd
- ./build/merge-sects.c:119 [error] - Resource leak: srcfd
- ./build/setup-newfiles.c:110 [error] - Resource leak: infd
- ./client/clientupdate.c:78 [error] - Memory leak: versionfn
- ./client/clientupdate.c:78 [error] - Memory leak: inprogressfn
- ./common/bbdigest.c:54 [error] - Resource leak: fd
- ./hobbitd/client_config.c:448 [error] - Memory leak: key
- ./hobbitd/client_config.c:1279 [error] - Memory leak: currule
- ./hobbitd/hobbit-mailack.c:170 [error] - Memory leak: fromline
- ./hobbitd/hobbit-mailack.c:170 [error] - Memory leak: firsttxtline
- ./hobbitd/hobbitd.c:882 [error] - Memory leak: hwalk
- ./hobbitd/hobbitd.c:2027 [error] - Resource leak: fd
- ./hobbitd/hobbitd_alert.c:953 [error] - Memory leak: checkfn
- ./hobbitd/hobbitd_capture.c:330 [error] - Resource leak: logfd
- ./hobbitd/hobbitd_channel.c:563 [error] - Possible null pointer dereference: channel
- ./hobbitd/hobbitd_channel.c:490 [error] - Memory leak: pidfile
- ./hobbitd/hobbitd_filestore.c:254 [error] - Memory leak: onlytests
- ./hobbitd/hobbitd_history.c:108 [error] - Memory leak: histdir
- ./hobbitd/hobbitd_history.c:683 [error] - Memory leak: histlogdir
- ./hobbitd/hobbitd_locator.c:403 [error] - Memory leak: fn
- ./hobbitd/hobbitd_locator.c:378 [error] - Memory leak: srv
- ./hobbitd/hobbitd_locator.c:456 [error] - Memory leak: fn
- ./hobbitd/hobbitd_rrd.c:247 [error] - Memory leak: processor
- ./lib/availability.c:650 [error] - Memory leak: hostsvc
- ./lib/cgi.c:84 [error] - Memory leak: reqdata
- ./lib/cgi.c:242 [error] - Memory leak: delim
- ./lib/digest.c:47 [error] - Memory leak: ctx.digestname
- ./lib/digest.c:47 [error] - Memory leak: ctx.mdctx
- ./lib/digest.c:113 [error] - Memory leak: ctx.digestname
- ./lib/digest.c:113 [error] - Memory leak: ctx.mdctx
- ./lib/errormsg.c:66 [error] - Common realloc mistake: "errbuf" nulled but not freed upon failure
- ./lib/headfoot.c:208 [error] - Memory leak: pool
- ./lib/headfoot.c:227 [error] - Memory leak: pool
- ./lib/headfoot.c:813 [error] - Memory leak: key
- ./lib/headfoot.c:1056 [error] - Memory leak: pool
- ./lib/headfoot.c:1406 [error] - Resource leak: fd
- ./lib/hobbitrrd.c:295 [error] - Common realloc mistake: "rrdurl" nulled but not freed upon failure
- ./lib/loadnkconf.c:392 [error] - Memory leak: hostname
- ./lib/locator.c:332 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/notifylog.c:371 [error] - Resource leak: notifylog
- ./lib/rmd160c.c:581 [error] - Memory leak: c
- ./lib/stackio.c:553 [error] - Resource leak: fd
- ./lib/timing.c:65 [error] - Memory leak: outbuf
- ./lib/url.c:255 [error] - Common realloc mistake: "cleaned" nulled but not freed upon failure
- ./web/bb-ack.c:240 [error] - Common realloc mistake: "cmd" nulled but not freed upon failure
- ./web/bb-ack.c:248 [error] - Common realloc mistake: "cmd" nulled but not freed upon failure
- ./web/bb-datepage.c:199 [error] - Memory leak: urlprefix
- ./web/bb-datepage.c:164 [error] - Memory leak: endurl
- ./web/bb-rep.c:184 [error] - Resource leak: dir
- ./web/bb-snapshot.c:130 [error] - Resource leak: dir
- ./web/hobbit-ackinfo.c:127 [error] - Memory leak: bbmsg
- ./web/hobbit-confreport.c:843 [error] - Memory leak: pagepattern
- ./web/hobbit-confreport.c:843 [error] - Memory leak: hostpattern
- ./web/hobbit-enadis.c:385 [error] - Memory leak: fullmsg
- ./web/hobbit-hostlist.c:52 [error] - Common realloc mistake: "fields" nulled but not freed upon failure
- ./web/hobbit-nkedit.c:89 [error] - Common realloc mistake: "rq_nkwkdays" nulled but not freed upon failure
- ./web/hobbit-nkedit.c:129 [error] - Common realloc mistake: "rq_clonestodrop" nulled but not freed upon failure
- ./web/hobbit-nkedit.c:172 [error] - Memory leak: rq_nkslastart
- ./web/hobbit-nkedit.c:172 [error] - Memory leak: rq_nkslaend
- ./web/hobbit-statusreport.c:211 [error] - Memory leak: pagefilter
- ./web/hobbit-statusreport.c:212 [error] - Memory leak: heading
- ./web/hobbit-useradm.c:173 [error] - Memory leak: passfile
- ./web/hobbitgraph.c:971 [error] - Common realloc mistake: "rrddbs" nulled but not freed upon failure
- ./web/hobbitgraph.c:136 [error] - Memory leak: req
- ./web/hobbitgraph.c:1172 [error] - Memory leak: buf
- ./web/hobbitgraph.c:1231 [error] - Memory leak: rrddir
- ./web/hobbitgraph.c:1231 [error] - Memory leak: gdeffn
- ./web/hobbitgraph.c:1242 [error] - Memory leak: graphfn
- ./web/hobbitgraph.c:1242 [error] - Memory leak: selfURI
- ./web/hobbitsvc-info.c:108 [error] - Common realloc mistake: "tnames" nulled but not freed upon failure
- ./web/hobbitsvc-info.c:195 [error] - Common realloc mistake: "unametxt" nulled but not freed upon failure
- ./web/hobbitsvc-info.c:219 [error] - Memory leak: commaname
- ./web/hobbitsvc-trends.c:200 [error] - Common realloc mistake: "rrdlink" 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:21:00 +0000, based on results by cppcheck 1.46