cppcheck analysis of coreutils_8.1-1.dsc
- ./gnulib-tests/test-fpurge.c:148 [error] - Resource leak: fp
- ./gnulib-tests/test-freadahead.c:50 [error] - Memory leak: buf
- ./gnulib-tests/test-freadptr.c:107 [error] - Memory leak: buf
- ./gnulib-tests/test-freadptr.c:62 [error] - Unusual pointer arithmetic
- ./gnulib-tests/test-freadptr2.c:59 [error] - Memory leak: buf
- ./gnulib-tests/test-freadseek.c:105 [error] - Memory leak: buf1
- ./gnulib-tests/test-freadseek.c:105 [error] - Memory leak: buf3
- ./gnulib-tests/test-freadseek.c:105 [error] - Memory leak: buf5
- ./gnulib-tests/test-freadseek.c:105 [error] - Memory leak: buf7
- ./gnulib-tests/test-getndelim2.c:57 [error] - Resource leak: f
- ./lib/at-func2.c:113 [error] - Invalid deallocation
- ./lib/fts.c:1734 [possible error] - Array 'fts_name[1]' index 1 out of bounds
- ./lib/fts.c:1734 [possible error] - Array 'fts_name[1]' index 2 out of bounds
- ./lib/getaddrinfo.c:327 [error] - Memory leak: storage
- ./lib/getaddrinfo.c:328 [error] - Memory leak: storage
- ./lib/getcwd.c:418 [possible error] - Resource leak: fd
- ./lib/regcomp.c:3065 [error] - Memory leak: mbcset
- ./lib/regcomp.c:3608 [error] - Memory leak: mbcset
- ./lib/regex_internal.c:1637 [error] - Memory leak: newstate
- ./lib/regex_internal.c:1687 [possible error] - Memory leak: newstate
- ./lib/savewd.c:161 [possible error] - Resource leak: fd
- ./src/system.h:355 [error] - Resource leak: fd
- ./src/cksum.c:226 [possible error] - Resource leak: fp
- ./src/copy.c:905 [possible error] - Resource leak: dest_desc
- ./src/test.c:602 [error] - Uninitialized variable: value
- ./src/test.c:627 [error] - Uninitialized variable: value
- ./src/libstdbuf.c:127 [error] - Memory leak: buf
- ./src/ls.c:1947 [error] - Unusual pointer arithmetic
- ./src/paste.c:423 [possible error] - Resource leak: fileptr
- ./src/sum.c:126 [possible error] - Resource leak: fp
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:46:46 +0000, based on results by cppcheck 1.41-modif