cppcheck analysis of prima_1.28-1.dsc
- ./Component.c:355 [error] - Memory leak: ev
- ./img/bc_const.c:82 [error] - Array 'std256gray_palette[256]' index 765 out of bounds
- ./img/codec_bmp.c:998 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./img/codec_jpeg.c:102 [error] - Uninitialized variable: buffer
- ./img/codec_jpeg.c:423 [error] - Uninitialized variable: buffer
- ./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/fonthash.c:164 [error] - Memory leak: node
- ./os2/fonthash.c:325 [error] - Memory leak: node
- ./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)
- ./primguts.c:1904 [error] - Allocation with malloc, strcpy doesn't release it.
- ./unix/apc_graphics.c:697 [error] - Memory leak: p
- ./unix/apc_graphics.c:726 [error] - Memory leak: s
- ./unix/apc_misc.c:249 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./win32/misc.c:178 [error] - Dangerous usage of 'buf' (strncpy doesn't always 0-terminate it)
- ./win32/misc.c:131 [error] - Possible null pointer dereference: map - otherwise it is redundant to check if map is null at line 134
- ./win32/stock.c:956 [error] - Buffer access out-of-bounds: ctx_CHARSET2index
- ./win32/stock.c:1243 [error] - Buffer access out-of-bounds: ctx_CHARSET2index
- ./win32/stock.c:398 [error] - Memory leak: node
- ./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 Mon, 20 Dec 2010 21:17:58 +0000, based on results by cppcheck 1.46