cppcheck analysis of heartbeat_2.1.4-8.dsc
- ./cim/utils.c:79 [error] - Resource leak: fstream
- ./cim/utils.c:304 [error] - Resource leak: fobj
- ./cim/utils.c:358 [error] - Resource leak: fobj
- ./crm/pengine/ptest.c:438 [error] - Invalid number of character ()) when these macros are defined: ''.
- ./crm/pengine/ptest.c:438 [error] - ### Internal error in Cppcheck. Please report it.
- ./crm/pengine/ptest.c:438 [error] - Invalid number of character ()) when these macros are defined: 'HAVE_GETOPT_H'.
- ./crm/pengine/ptest.c:438 [error] - Invalid number of character ()) when these macros are defined: 'HAVE_LIBXML2'.
- ./fencing/test/apitest.c:70 [possible error] - Memory leak: st_op
- ./heartbeat/findif.c:269 [error] - Mismatching allocation and deallocation: routefd
- ./heartbeat/hb_uuid.c:455 [error] - Resource leak: fd
- ./heartbeat/heartbeat.c:4586 [possible error] - Resource leak: ffd
- ./heartbeat/heartbeat.c:6649 [error] - Resource leak: fd
- ./lib/clplumbing/cl_malloc.c:719 [error] - Memory leak: bhdr
- ./lib/clplumbing/cl_random.c:232 [possible error] - Resource leak: fs
- ./lib/crm/pengine/utils.c:112 [error] - Uninitialized variable: other_node
- ./lib/plugins/stonith/external.c:791 [error] - Resource leak: file
- ./lib/plugins/stonith/meatware.c:233 [error] - Resource leak: fd
- ./lib/stonith/meatclient.c:138 [error] - Resource leak: fd
- ./lib/stonith/st_ttylock.c:189 [error] - Resource leak: fd
- ./membership/ccm/ccmmain.c:238 [possible error] - Memory leak: tmp_cmdname
- ./replace/scandir.c:157 [error] - Resource leak: directory
- ./replace/scandir.c:199 [error] - Memory leak: copy
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:49:08 +0000, based on results by cppcheck 1.41-modif