cppcheck analysis of dietlibc_0.32-5.dsc
- ./libcruft/getpass.c:23 [error] - Resource leak: in
- ./libcruft/res_query.c:190 [error] - Uninitialized variable: inpkg
- ./libcruft/res_query.c:196 [error] - Uninitialized variable: inpkg
- ./libpthread/test-basic.c:630 [error] - Null pointer dereference
- ./librpc/getrpcent.c:95 [error] - Memory leak: d
- ./librpc/getrpcent.c:140 [error] - Memory leak: d
- ./librpc/getrpcent.c:159 [error] - Memory leak: d
- ./librpc/getrpcent.c:170 [error] - Memory leak: d
- ./librpc/getrpcent.c:204 [error] - Memory leak: d
- ./libstdio/stdin.c:28 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./test/calloc.c:8 [error] - Memory leak: c
- ./test/checkssp.c:4 [error] - Buffer access out-of-bounds: arr
- ./test/confstr.c:22 [error] - Memory leak: path
- ./test/flush.c:6 [error] - Resource leak: f
- ./test/fwrite.c:6 [error] - Resource leak: f
- ./test/memusage.c:10 [error] - Resource leak: f
- ./test/popen.c:11 [error] - Resource leak: f
- ./test/qsort.c:41 [error] - Common realloc mistake: "A" nulled but not freed upon failure
- ./test/readdir.c:16 [error] - Resource leak: D
- ./test/stdio/tst-fdopen.c:49 [error] - Resource leak: fd
- ./test/stdio/tst-fseek.c:60 [error] - Memory leak: fname
- ./test/stdio/tstscanf.c:355 [error] - Resource leak: in
- ./test/stdlib/test-canon.c:210 [error] - Resource leak: fd
- ./test/stdlib/tst-malloc.c:55 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./test/stdlib/tst-malloc.c:63 [error] - Common realloc mistake: "p" nulled but not freed upon failure
- ./test/stdlib/tst-malloc.c:50 [error] - Memory leak: p
- ./test/time/tst-strftime.c:37 [error] - Common realloc mistake: "buf" 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:13:33 +0000, based on results by cppcheck 1.46