cppcheck analysis of cfengine3_3.0.2+dfsg-2.dsc
- ./src/cfknow.c:1456 [error] - Resource leak: fout
- ./src/cfreport.c:2422 [error] - Memory leak: array
- ./src/cfstream.c:507 [possible error] - Resource leak: fp
- ./src/client_code.c:430 [error] - Memory leak: cfdirh
- ./src/client_code.c:1216 [error] - Memory leak: svp
- ./src/client_code.c:1262 [error] - Dangerous usage of 'ipname' (strncpy doesn't always 0-terminate it)
- ./src/evalfunction.c:3954 [error] - Memory leak: result
- ./src/files_edit.c:53 [error] - Memory leak: ec
- ./src/files_operators.c:1558 [error] - Dangerous usage of 'pathbuf' (strncpy doesn't always 0-terminate it)
- ./src/graph.c:201 [error] - Memory leak: evc
- ./src/item-lib.c:126 [possible error] - Memory leak: spe
- ./src/item-lib.c:837 [possible error] - Memory leak: spe
- ./src/matching.c:1144 [error] - Dangerous usage of 'refbase' (strncpy doesn't always 0-terminate it)
- ./src/server.c:2586 [error] - snprintf size is out of bounds
- ./src/server.c:1859 [error] - Dangerous usage of 'lastnode' (strncpy doesn't always 0-terminate it)
- ./src/sysinfo.c:1626 [error] - Uninitialized variable: strmajor
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:46:35 +0000, based on results by cppcheck 1.41-modif