cppcheck analysis of ocp_0.1.20-1.dsc
- ./boot/psetting.c:218 [error] - Common realloc mistake: "cfINIApps" nulled but not freed upon failure
- ./boot/psetting.c:253 [error] - Common realloc mistake: "cfINIApps" nulled but not freed upon failure
- ./boot/psetting.c:287 [error] - Common realloc mistake: "cfINIApps" nulled but not freed upon failure
- ./boot/psetting.c:312 [error] - Common realloc mistake: "cfINIApps" nulled but not freed upon failure
- ./boot/psetting.c:336 [error] - Common realloc mistake: "cfINIApps" nulled but not freed upon failure
- ./boot/psetting.c:456 [error] - Common realloc mistake: "cfINIApps" nulled but not freed upon failure
- ./cpiface/cpipic.c:233 [error] - Memory leak: filecache
- ./dev/devigen.c:68 [error] - Dangerous usage of 'dname' (strncpy doesn't always 0-terminate it)
- ./dev/deviplay.c:92 [error] - Dangerous usage of 'lname' (strncpy doesn't always 0-terminate it)
- ./dev/devisamp.c:120 [error] - Dangerous usage of 'lname' (strncpy doesn't always 0-terminate it)
- ./dev/deviwave.c:91 [error] - Dangerous usage of 'lname' (strncpy doesn't always 0-terminate it)
- ./dev/mix.c:290 [error] - Resource leak: fd
- ./dev/mix.c:290 [error] - Memory leak: file
- ./devw/devwmix.c:1137 [error] - Resource leak: fd
- ./devw/devwmix.c:1137 [error] - Memory leak: file
- ./devw/devwmixf.c:1002 [error] - Resource leak: fd
- ./devw/devwmixf.c:1002 [error] - Memory leak: file
- ./devw/test-dwmixa.c:285 [error] - Resource leak: fd
- ./devw/test-dwmixa.c:285 [error] - Memory leak: file
- ./filesel/adb.c:145 [error] - Resource leak: f
- ./filesel/arctar.c:153 [error] - Resource leak: fd
- ./filesel/arctar.c:381 [error] - Resource leak: extfd
- ./filesel/arczip.c:451 [error] - Resource leak: extfd
- ./filesel/cdrom.c:272 [error] - Uninitialized variable: lastlba
- ./filesel/mdb.c:392 [error] - Resource leak: f
- ./goodies/pack/pack.c:53 [error] - Resource leak: output
- ./goodies/pack/pack.c:74 [error] - Memory leak: buffer
- ./goodies/pack/pack.c:74 [error] - Resource leak: file
- ./goodies/tga2wav/tga2wav.cpp:288 [error] - Resource leak: infile
- ./goodies/tga2wav/tga2wav.cpp:288 [error] - Resource leak: outfile
- ./playgmd/gmdlams.c:1203 [error] - Memory leak: instsampnum
- ./playgmd/gmdldmf.c:295 [error] - Memory leak: orders
- ./playgmd/gmdlmdl.c:367 [error] - Memory leak: temptrack
- ./playgmd/gmdlmdl.c:846 [error] - Memory leak: inssampnum
- ./playgmi/dumppat.c:330 [error] - Resource leak: file
- ./playgmi/gmifff.c:895 [error] - Resource leak: dat
- ./playsid/sidplay.cpp:244 [error] - Memory leak: buf
- ./playxm/xmlmxm.c:174 [error] - Memory leak: instsmpnum
- ./playxm/xmrtns.c:74 [error] - Uninitialized variable: newrow
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 15:59:03 +0000, based on results by cppcheck 1.46