cppcheck analysis of criticalmass_1.0.0-1.4.dsc
- ./curl/docs/examples/curlx.c:464 [error] - Common realloc mistake: "binaryptr" nulled but not freed upon failure
- ./curl/docs/examples/sepheaders.c:59 [error] - Resource leak: headerfile
- ./curl/docs/examples/sepheaders.c:78 [error] - Resource leak: bodyfile
- ./curl/lib/file.c:164 [error] - Resource leak: fd
- ./curl/src/main.c:599 [error] - Common realloc mistake: "string" nulled but not freed upon failure
- ./curl/src/main.c:4159 [error] - Common realloc mistake: "retval" nulled but not freed upon failure
- ./curl/src/main.c:4190 [error] - Memory leak: outdup
- ./curl/src/main.c:4201 [error] - Undefined behaviour: dirbuildup is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./curl/tests/libtest/lib507.c:50 [error] - Uninitialized variable: i
- ./tools/Packer.cpp:218 [error] - Resource leak: dir
- ./utils/lzma/SRC/7zip/Compress/LZMA_C/LzmaStateTest.c:178 [error] - Resource leak: inFile
- ./utils/lzma/SRC/7zip/Compress/LZMA_C/LzmaTest.c:325 [error] - Resource leak: inFile
- ./utilssdl/PNG.cpp:38 [error] - Mismatching allocation and deallocation: 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 Mon, 20 Dec 2010 21:13:16 +0000, based on results by cppcheck 1.46