cppcheck analysis of pearpc_0.4.0-5.dsc
- ./src/debug/debugger.cc:855 [error] - Uninitialized variable: disstr
- ./src/io/prom/fs/hfs/block.c:98 [error] - Invalid number of character (() when these macros are defined: 'DEBUG'.
- ./src/io/prom/fs/part.cc:477 [error] - Array 'signature[2]' index 2 out of bounds
- ./src/io/prom/promboot.cc:536 [error] - Memory leak: z
- ./src/io/prom/promboot.cc:849 [error] - Resource leak: f
- ./src/io/prom/promosi.cc:234 [error] - Possible null pointer dereference: p - otherwise it is redundant to check if p is null at line 240
- ./src/system/osapi/beos/sysfile.cc:215 [error] - Resource leak: fd
- ./src/system/osapi/posix/sysfile.cc:189 [error] - Resource leak: fd
- ./src/system/osapi/posix/sysfile.cc:283 [error] - Memory leak: p
- ./src/system/osapi/posix/sysfile.cc:277 [error] - Data is allocated but not initialized: p
- ./src/system/osapi/posix/systimer.cc:145 [error] - Memory leak: newTimer
- ./src/system/ui/win32/sysdisplay.cc:58 [error] - Common realloc mistake: "winframebuffer" nulled but not freed upon failure
- ./src/system/ui/win32/sysdisplay.cc:190 [error] - Common realloc mistake: "winframebuffer" nulled but not freed upon failure
- ./src/system/ui/win32/sysdisplay.cc:237 [error] - Common realloc mistake: "winframebuffer" nulled but not freed upon failure
- ./src/tools/stream.cc:1333 [error] - Common realloc mistake: "buf" nulled but not freed upon failure
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 03:58:10 +0000, based on results by cppcheck 1.46