cppcheck analysis of libsmi_0.4.8+dfsg2-2.dsc
- ./tools/dump-boilerplate.c:223 [possible error] - Resource leak: f
- ./tools/dump-compliance.c:281 [possible error] - Resource leak: f
- ./tools/dump-identifiers.c:198 [possible error] - Resource leak: f
- ./tools/dump-imports.c:181 [possible error] - Resource leak: f
- ./tools/dump-metrics.c:1663 [possible error] - Resource leak: f
- ./tools/dump-mosy.c:529 [possible error] - Resource leak: f
- ./tools/dump-perl.c:1112 [possible error] - Resource leak: f
- ./tools/dump-python.c:1095 [possible error] - Resource leak: f
- ./tools/dump-sizes.c:1323 [possible error] - Resource leak: f
- ./tools/dump-smi.c:1985 [possible error] - Resource leak: f
- ./tools/dump-smi.c:2017 [possible error] - Resource leak: f
- ./tools/dump-sppi.c:1728 [possible error] - Resource leak: f
- ./tools/dump-tree.c:511 [possible error] - Resource leak: f
- ./tools/dump-types.c:674 [possible error] - Resource leak: f
- ./tools/smidiff.c:1062 [error] - Memory leak: minStr
- ./tools/smidiff.c:1062 [error] - Memory leak: maxStr
- ./tools/smidiff.c:1090 [error] - Memory leak: str
- ./tools/smidiff.c:1080 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./tools/smidiff.c:1096 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./tools/smidiff.c:1101 [error] - Undefined behaviour: str is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
- ./tools/smidiff.c:1757 [error] - Undefined behaviour: strIdxLst is used wrong in call to sprintf or snprintf. Quote: If copying takes place between objects that overlap as a result of a call to sprintf() or snprintf(), the results are undefined.
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:54:13 +0000, based on results by cppcheck 1.41-modif