cppcheck analysis of 9base_6-4.dsc
- ./awk/maketab.c:167 [error] - Resource leak: fp
- ./awk/run.c:268 [error] - Common realloc mistake: "frame" nulled but not freed upon failure
- ./lib9/_p9translate.c:39 [error] - Memory leak: new
- ./lib9/announce.c:51 [error] - Memory leak: buf
- ./lib9/debugmalloc.c:118 [error] - Memory leak: v
- ./lib9/debugmalloc.c:148 [error] - Memory leak: v
- ./lib9/dirread.c:82 [error] - Resource leak: oldwd
- ./lib9/dirread.c:107 [error] - Memory leak: d
- ./lib9/dirread.c:148 [error] - Memory leak: buf
- ./lib9/dirread.c:180 [error] - Memory leak: nbuf
- ./lib9/encodefmt.c:75 [error] - Memory leak: buf
- ./lib9/getns.c:36 [error] - Memory leak: disp
- ./lib9/quote.c:98 [error] - Memory leak: ret
- ./lib9/quote.c:124 [error] - Memory leak: ret
- ./lib9/regex/regexec.c:171 [error] - Memory leak: relist0
- ./lib9/searchpath.c:44 [error] - Memory leak: ss
- ./lib9/sec/md5pickle.c:29 [error] - Memory leak: s
- ./lib9/sec/sha1pickle.c:28 [error] - Memory leak: s
- ./lib9/strdup.c:13 [error] - Memory leak: t
- ./lib9/wait.c:21 [error] - Memory leak: w
- ./ls/ls.c:248 [error] - Common realloc mistake: "p9dirbuf" nulled but not freed upon failure
- ./rc/code.c:25 [error] - Common realloc mistake: "codebuf" nulled but not freed upon failure
- ./rc/exec.c:259 [error] - Resource leak: f
- ./rc/plan9ish.c:572 [error] - Common realloc mistake: "waitpids" nulled but not freed upon failure
- ./sam/unix.c:166 [error] - Resource leak: fd
- ./sed/sed.c:1250 [error] - Uninitialized variable: execp
- ./sed/sed.c:1260 [error] - Uninitialized variable: execp
- ./sed/sed.c:1275 [error] - Uninitialized variable: execp
- ./sort/sort.c:264 [error] - Common realloc mistake: "l" nulled but not freed upon failure
- ./tail/tail.c:226 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./tail/tail.c:278 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./troff/dwbinit.c:143 [error] - Memory leak: home
- ./troff/dwbinit.c:315 [error] - Memory leak: home
- ./troff/mbwc.c:158 [error] - Array 'buf[3]' index 3 out of bounds
- ./troff/n3.c:461 [error] - Common realloc mistake: "blist" 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:12:10 +0000, based on results by cppcheck 1.46