cppcheck analysis of prima_1.28-1.dsc
- ./Component.c:355 [error] - Memory leak: ev
- ./img/codec_bmp.c:998 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./img/codec_ungif.c:122 [error] - Possible null pointer dereference: pal - otherwise it is redundant to check if pal is null at line 124
- ./img/ic_conv.c:132 [error] - Memory leak: buf
- ./img/ic_conv.c:229 [error] - Memory leak: buf
- ./img/ic_conv.c:273 [error] - Memory leak: buf
- ./img/ic_conv.c:360 [error] - Memory leak: buf
- ./img/ic_conv.c:614 [error] - Memory leak: buf
- ./img/ic_conv.c:682 [error] - Memory leak: buf
- ./os2/misc.c:272 [possible error] - Resource leak: dh
- ./os2/misc.c:431 [error] - Possible null pointer dereference: t
- ./os2/stock.c:344 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./unix/apc_graphics.c:697 [error] - Memory leak: p
- ./unix/apc_graphics.c:726 [error] - Memory leak: s
- ./unix/apc_misc.c:1404 [possible error] - Resource leak: dh
- ./unix/apc_misc.c:249 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./win32/misc.c:131 [error] - Possible null pointer dereference: map
- ./win32/misc.c:235 [possible error] - Resource leak: dh
- ./win32/stock.c:956 [error] - Buffer access out-of-bounds
- ./win32/stock.c:1243 [error] - Buffer access out-of-bounds
- ./win32/stock.c:1440 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
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 06:00:53 +0000, based on results by cppcheck 1.41-modif