cppcheck analysis of coreutils_7.4-2.dsc
- ./gnulib-tests/test-fpurge.c:90 [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/fts.c:1712 [possible error] - Array 'fts_name[1]' index 1 out of bounds
- ./lib/fts.c:1712 [possible error] - Array 'fts_name[1]' index 2 out of bounds
- ./lib/fts.c:324 [possible error] - Resource leak: new_fd
- ./lib/getaddrinfo.c:327 [error] - Memory leak: storage
- ./lib/getaddrinfo.c:328 [error] - Memory leak: storage
- ./lib/getcwd.c:428 [possible error] - Resource leak: fd
- ./lib/regcomp.c:3061 [error] - Memory leak: mbcset
- ./lib/regcomp.c:3602 [error] - Memory leak: mbcset
- ./lib/regex_internal.c:1632 [error] - Memory leak: newstate
- ./lib/regex_internal.c:1682 [possible error] - Memory leak: newstate
- ./lib/savewd.c:165 [possible error] - Resource leak: fd
- ./src/system.h:404 [error] - Resource leak: fd
- ./src/cksum.c:226 [possible error] - Resource leak: fp
- ./src/copy.c:835 [possible error] - Resource leak: dest_desc
- ./src/copy.c:794 [possible error] - Resource leak: source_desc
- ./src/test.c:602 [error] - Uninitialized variable: value
- ./src/test.c:627 [error] - Uninitialized variable: value
- ./src/ls.c:1926 [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