cppcheck analysis of clamav_0.96.5+dfsg-1.1.dsc
- ./clamav-milter/whitelist.c:103 [error] - Resource leak: f
- ./clamav-milter/whitelist.c:151 [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:348 [error] - Common realloc mistake: "pua_cats" nulled but not freed upon failure
- ./clamscan/manager.c:372 [error] - Common realloc mistake: "pua_cats" nulled but not freed upon failure
- ./clamscan/manager.c:276 [error] - Resource leak: fs
- ./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
- ./libclamav/sis.c:509 [error] - Deallocating a deallocated pointer: fd
- ./sigtool/sigtool.c:408 [error] - Resource leak: fh
- ./sigtool/sigtool.c:598 [error] - Memory leak: pt
- ./sigtool/sigtool.c:681 [error] - Resource leak: dd
- ./sigtool/sigtool.c:1560 [error] - Resource leak: fd
- ./sigtool/sigtool.c:2417 [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
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Sun, 16 Jan 2011 06:58:03 +0000, based on results by cppcheck 1.46