cppcheck analysis of gnulib_20100704+stable-1.dsc
- ./lib/closein.c:90 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./lib/getaddrinfo.c:327 [error] - Memory leak: storage
- ./lib/getaddrinfo.c:328 [error] - Memory leak: storage
- ./lib/popen-safer.c:50 [error] - Resource leak: fd
- ./lib/regcomp.c:2797 [error] - Uninitialized variable: symb_table
- ./lib/regexec.c:3908 [error] - Uninitialized variable: extra
- ./lib/sqrtl.c:41 [error] - Passing value -1 to sqrt() leads to undefined result
- ./lib/unicase/u8-casefold.c:54 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-casefold.c:73 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-tolower.c:67 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-tolower.c:86 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-totitle.c:54 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-totitle.c:73 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-toupper.c:67 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unicase/u8-toupper.c:86 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/u8-possible-linebreaks.c:190 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/u8-possible-linebreaks.c:209 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/u8-width-linebreaks.c:135 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/u8-width-linebreaks.c:154 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/ulc-possible-linebreaks.c:143 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/ulc-possible-linebreaks.c:162 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/ulc-width-linebreaks.c:161 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/unilbrk/ulc-width-linebreaks.c:180 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/uniwbrk/u8-wordbreaks.c:57 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/uniwbrk/u8-wordbreaks.c:76 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/uniwbrk/ulc-wordbreaks.c:134 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./lib/uniwbrk/ulc-wordbreaks.c:153 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
- ./tests/test-fbufmode.c:71 [error] - Resource leak: fp
- ./tests/test-fflush.c:48 [error] - Resource leak: f
- ./tests/test-fflush2.c:53 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./tests/test-fflush2.c:94 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./tests/test-fpurge.c:133 [error] - Resource leak: fp
- ./tests/test-freadahead.c:36 [error] - Memory leak: buf
- ./tests/test-freadptr.c:93 [error] - Memory leak: buf
- ./tests/test-freadptr2.c:46 [error] - Memory leak: buf
- ./tests/test-freadseek.c:92 [error] - Memory leak: buf1
- ./tests/test-freadseek.c:92 [error] - Memory leak: buf3
- ./tests/test-freadseek.c:92 [error] - Memory leak: buf5
- ./tests/test-freadseek.c:92 [error] - Memory leak: buf7
- ./tests/test-ftell3.c:77 [error] - Resource leak: fp
- ./tests/test-ftello3.c:77 [error] - Resource leak: fp
- ./tests/test-getdelim.c:48 [error] - Resource leak: f
- ./tests/test-getline.c:48 [error] - Resource leak: f
- ./tests/test-iconv-utf.c:64 [error] - Buffer access out-of-bounds: buf
- ./tests/test-iconv-utf.c:95 [error] - Buffer access out-of-bounds: buf
- ./tests/test-iconv-utf.c:126 [error] - Buffer access out-of-bounds: buf
- ./tests/test-iconv-utf.c:157 [error] - Buffer access out-of-bounds: buf
- ./tests/test-userspec.c:115 [error] - Uninitialized variable: gr
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:14:26 +0000, based on results by cppcheck 1.46