cppcheck analysis of bacula_5.0.2-2.2.dsc
- ./patches/testing/hash.c:391 [error] - Resource leak: fp
- ./patches/testing/justdisk.c:87 [error] - Uninitialized variable: res
- ./patches/testing/justdisk.c:280 [error] - Uninitialized variable: idx
- ./patches/testing/justdisk.c:281 [error] - Uninitialized variable: myp
- ./patches/testing/mtops.c:234 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./platforms/freebsd/tapetest.c:370 [error] - Resource leak: rfd
- ./src/cats/dbi.c:868 [error] - Possible null pointer dereference: mdb - otherwise it is redundant to check if mdb is null at line 872
- ./src/dird/fd_cmds.c:530 [error] - Resource leak: ffd
- ./src/lib/lockmgr.c:274 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:309 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:310 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:324 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:331 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:332 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:357 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:365 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:575 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:610 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:622 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:638 [error] - Possible null pointer dereference: jcr
- ./src/lib/lockmgr.c:911 [error] - Possible null pointer dereference: jcr
- ./src/lib/message.c:1129 [error] - Possible null pointer dereference: p
- ./src/lib/message.c:1231 [error] - Possible null pointer dereference: p
- ./src/lib/rwlock.c:438 [error] - Invalid number of character ({) when these macros are defined: 'TEST_RWLOCK;xxx'.
- ./src/stored/dircmd.c:267 [error] - Possible null pointer dereference: djcr
- ./src/win32/filed/plugins/api.c:86 [error] - Mismatching allocation and deallocation: buf
- ./src/win32/filed/plugins/api.c:95 [error] - Mismatching allocation and deallocation: buf
- ./src/win32/filed/plugins/dbi_node.c:116 [error] - Mismatching allocation and deallocation: dbi_node_t::buffer
- ./src/win32/filed/plugins/dbi_node.c:289 [error] - Mismatching allocation and deallocation: dbi_node_t::buffer
- ./src/win32/filed/plugins/exchange-fd.c:279 [error] - Buffer access out-of-bounds
- ./src/win32/filed/plugins/node.c:58 [error] - Mismatching allocation and deallocation: node_t::name
- ./src/win32/filed/plugins/service_node.c:82 [error] - Mismatching allocation and deallocation: tmp
- ./src/win32/filed/plugins/service_node.c:99 [error] - Mismatching allocation and deallocation: tmp
- ./src/win32/filed/plugins/storage_group_node.c:198 [error] - Mismatching allocation and deallocation: tmp
- ./src/win32/filed/plugins/storage_group_node.c:211 [error] - Mismatching allocation and deallocation: tmp
- ./src/win32/filed/plugins/storage_group_node.c:214 [error] - Mismatching allocation and deallocation: tmp
- ./src/win32/filed/plugins/storage_group_node.c:117 [error] - Mismatching allocation and deallocation: tmp
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:12:34 +0000, based on results by cppcheck 1.46