cppcheck analysis of mondo_2.2.7-2.1.dsc
- ./src/common/libmondo-archive.c:982 [error] - Memory leak: tmp2
- ./src/common/libmondo-archive.c:3129 [error] - Memory leak: fin
- ./src/common/libmondo-cli.c:310 [error] - Dangerous usage of 'tmp' (strncpy doesn't always 0-terminate it)
- ./src/common/libmondo-devices.c:1361 [error] - Memory leak: mddevice
- ./src/common/libmondo-filelist.c:268 [error] - Memory leak: incoming
- ./src/common/libmondo-filelist.c:376 [error] - Resource leak: fin
- ./src/common/libmondo-filelist.c:376 [error] - Resource leak: fbig
- ./src/common/libmondo-filelist.c:922 [error] - Memory leak: filelist
- ./src/common/libmondo-filelist.c:1395 [error] - Memory leak: sth_B
- ./src/common/libmondo-filelist.c:922 [error] - Memory leak: filelist.down
- ./src/common/libmondo-files.c:308 [error] - Resource leak: fin
- ./src/common/newt-specific.c:1603 [error] - Memory leak: tmp
- ./src/common/newt-specific.c:780 [error] - Uninitialized variable: entry_value
- ./src/common/libmondo-mountlist.c:593 [error] - Memory leak: drivelist
- ./src/common/libmondo-mountlist.c:205 [error] - Undefined behaviour: device 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.
- ./src/common/libmondo-raid.c:861 [error] - Memory leak: line
- ./src/common/libmondo-stream.c:638 [error] - Memory leak: ntapedev
- ./src/common/libmondo-stream.c:1060 [error] - Memory leak: datablock
- ./src/common/libmondo-verify.c:1193 [error] - Memory leak: command
- ./src/mondorestore/mondo-prep.c:1782 [error] - Resource leak: pout_to_fdisk
- ./src/mondorestore/mondo-prep.c:2446 [error] - Resource leak: fin
- ./src/mondorestore/mondorestore.c:1062 [error] - Memory leak: bigblk
- ./src/mondorestore/mondorestore.c:2077 [error] - Resource leak: fbw
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 14:58:07 +0000, based on results by cppcheck 1.46