cppcheck analysis of clamav_0.97+dfsg-2.dsc
- ./clamav-milter/whitelist.c:154 [error] - Resource leak: f
- ./clamconf/clamconf.c:237 [error] - Resource leak: f
- ./clamconf/clamconf.c:329 [error] - Resource leak: dd
- ./clamd/clamd.c:353 [error] - Common realloc mistake: "pua_cats" nulled but not freed upon failure
- ./clamd/clamd.c:383 [error] - Common realloc mistake: "pua_cats" nulled but not freed upon failure
- ./clamscan/manager.c:434 [error] - Common realloc mistake: "pua_cats" nulled but not freed upon failure
- ./clamscan/manager.c:458 [error] - Common realloc mistake: "pua_cats" nulled but not freed upon failure
- ./examples/ex1.c:61 [error] - Resource leak: fd
- ./libclamav/c++/llvm/lib/Analysis/ScalarEvolutionExpander.cpp:867 [error] - Possible null pointer dereference: IncV - otherwise it is redundant to check if IncV is null at line 868
- ./libclamav/c++/llvm/lib/VMCore/Metadata.cpp:252 [error] - Memory leak: N
- ./libclamav/c++/llvm/utils/TableGen/CodeGenDAGPatterns.cpp:2015 [error] - Possible null pointer dereference: DI
- ./libclamav/c++/llvm/utils/TableGen/TGParser.cpp:615 [error] - Memory leak: SubType
- ./libclamav/c++/llvm/utils/TableGen/TGParser.cpp:996 [error] - Memory leak: Type
- ./libclamav/c++/llvm/utils/TableGen/TGParser.cpp:1157 [error] - Memory leak: GivenEltTy
- ./libclamav/c++/llvm/utils/TableGen/TGParser.cpp:1451 [error] - Memory leak: Type
- ./sigtool/sigtool.c:413 [error] - Resource leak: fh
- ./sigtool/sigtool.c:603 [error] - Memory leak: pt
- ./sigtool/sigtool.c:686 [error] - Resource leak: dd
- ./sigtool/sigtool.c:1561 [error] - Resource leak: fd
- ./sigtool/sigtool.c:2433 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./sigtool/vba.c:1099 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./sigtool/vba.c:1147 [error] - Common realloc mistake: "data" nulled but not freed upon failure
- ./win32/3rdparty/bzip2/bzip2recover.c:312 [error] - Buffer overrun possible for long cmd-line args
- ./win32/3rdparty/bzip2/unzcrash.c:141 [error] - Resource leak: f
- ./win32/3rdparty/zlib/contrib/minizip/unzip.c:818 [error] - Possible null pointer dereference: s - otherwise it is redundant to check if s is null at line 819
- ./win32/3rdparty/zlib/contrib/minizip/unzip.c:1510 [error] - Possible null pointer dereference: pfile_in_zip_read_info - otherwise it is redundant to check if pfile_in_zip_read_info is null at line 1512
- ./win32/3rdparty/zlib/contrib/minizip/zip.c:207 [error] - Possible null pointer dereference: ldi - otherwise it is redundant to check if ldi is null at line 208
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sat, 26 Mar 2011 06:58:02 +0000, based on results by cppcheck 1.46