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:1624 [possible error] - Memory leak: tmp1
- ./src/common/libmondo-archive.c:3063 [error] - Memory leak: tempblock
- ./src/common/libmondo-archive.c:3129 [error] - Memory leak: fin
- ./src/common/libmondo-devices.c:1361 [error] - Memory leak: mddevice
- ./src/common/libmondo-fifo.c:139 [error] - Resource leak: fres
- ./src/common/libmondo-filelist.c:268 [possible 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 [possible error] - Memory leak: filelist
- ./src/common/libmondo-filelist.c:1395 [possible 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: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:1269 [error] - Memory leak: raidlist
- ./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-stream.c:1148 [possible error] - Resource leak: fout
- ./src/common/libmondo-verify.c:1193 [possible error] - Memory leak: command
- ./src/mondorestore/mondo-prep.c:279 [error] - Memory leak: buf
- ./src/mondorestore/mondo-prep.c:1782 [error] - Resource leak: pout_to_fdisk
- ./src/mondorestore/mondo-prep.c:2446 [error] - Resource leak: fin
- ./src/mondorestore/mondo-rstr-tools.c:1486 [error] - Uninitialized variable: res
- ./src/mondorestore/mondorestore.c:1062 [possible 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 Thu, 16 Dec 2010 05:55:03 +0000, based on results by cppcheck 1.41-modif