cppcheck analysis of amanda_3.2.1-1.dsc
- ./amar-src/amarchiver.c:64 [error] - Possible null pointer dereference: error
- ./amar-src/amarchiver.c:230 [error] - Possible null pointer dereference: error
- ./amar-src/amarchiver.c:279 [error] - Possible null pointer dereference: error
- ./application-src/amgtar.c:1183 [error] - Resource leak: include_list
- ./application-src/amgtar.c:1347 [error] - Resource leak: infd
- ./client-src/runtar.c:163 [error] - Resource leak: version_file
- ./client-src/sendbackup-gnutar.c:250 [error] - Resource leak: infd
- ./contrib/gsc/tstinq.c:74 [error] - Uninitialized variable: iqd
- ./device-src/s3.c:1828 [error] - Possible null pointer dereference: query - otherwise it is redundant to check if query is null at line 1833
- ./device-src/tape-device.c:978 [error] - Memory leak: msg
- ./device-src/tape-device.c:1021 [error] - Memory leak: msg
- ./device-src/tape-device.c:1128 [error] - Memory leak: msg
- ./device-src/tape-device.c:1271 [error] - Memory leak: msg
- ./device-src/tape-device.c:1606 [error] - Memory leak: msg
- ./device-src/tape-device.c:1855 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./gnulib/getaddrinfo.c:327 [error] - Memory leak: storage
- ./gnulib/getaddrinfo.c:328 [error] - Memory leak: storage
- ./gnulib/regcomp.c:2797 [error] - Uninitialized variable: symb_table
- ./gnulib/regexec.c:3908 [error] - Uninitialized variable: extra
- ./oldrecover-src/uparse.c:1311 [error] - Memory leak: yyptr
- ./perl/Amanda/Util.c:2904 [error] - Mismatching allocation and deallocation: result
- ./recover-src/uparse.c:1427 [error] - Memory leak: yyptr
- ./server-src/amindexd.c:1424 [error] - fflush() called on input stream "stdin" may result in undefined behaviour
- ./server-src/amservice.c:153 [error] - Resource leak: input_file
- ./server-src/chunker.c:451 [error] - Possible null pointer dereference: res - otherwise it is redundant to check if res is null at line 455
- ./server-src/chunker.c:453 [error] - Possible null pointer dereference: res - otherwise it is redundant to check if res is null at line 455
- ./server-src/driver.c:3163 [error] - Uninitialized variable: res
- ./xfer-src/element-glue.c:954 [error] - Memory leak: buf
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Wed, 30 Mar 2011 06:58:02 +0000, based on results by cppcheck 1.46