cppcheck analysis of coreutils_8.4-2.dsc
- ./gnulib-tests/test-fpurge.c:134 [error] - Resource leak: fp
- ./gnulib-tests/test-freadahead.c:39 [error] - Memory leak: buf
- ./gnulib-tests/test-freadptr.c:96 [error] - Memory leak: buf
- ./gnulib-tests/test-freadptr.c:51 [error] - Unusual pointer arithmetic
- ./gnulib-tests/test-freadptr2.c:49 [error] - Memory leak: buf
- ./gnulib-tests/test-freadseek.c:95 [error] - Memory leak: buf1
- ./gnulib-tests/test-freadseek.c:95 [error] - Memory leak: buf3
- ./gnulib-tests/test-freadseek.c:95 [error] - Memory leak: buf5
- ./gnulib-tests/test-freadseek.c:95 [error] - Memory leak: buf7
- ./gnulib-tests/test-getndelim2.c:47 [error] - Resource leak: f
- ./lib/fts.c:1729 [possible error] - Array 'fts_name[1]' index 1 out of bounds
- ./lib/fts.c:1729 [possible error] - Array 'fts_name[1]' index 2 out of bounds
- ./lib/getaddrinfo.c:330 [error] - Memory leak: storage
- ./lib/getaddrinfo.c:331 [error] - Memory leak: storage
- ./lib/getcwd.c:418 [possible error] - Resource leak: fd
- ./lib/regcomp.c:3071 [error] - Memory leak: mbcset
- ./lib/regcomp.c:3618 [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:1951 [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