cppcheck analysis of tk8.4_8.4.19-4.dsc
- ./generic/tkImgGIF.c:1580 [error] - Array 'mapa[256][3]' index mapa[256][3] out of bounds
- ./generic/tkImgGIF.c:1596 [error] - Array 'mapa[256][3]' index mapa[256][3] out of bounds
- ./generic/tkImgGIF.c:1611 [error] - Array 'mapa[256][3]' index mapa[256][3] out of bounds
- ./generic/tkSelect.c:626 [error] - Uninitialized variable: buffer
- ./mac/tkMacMenu.c:3986 [error] - Uninitialized variable: textWidth
- ./mac/tkMacMenu.c:3992 [error] - Uninitialized variable: textHeight
- ./mac/tkMacMenu.c:3999 [error] - Uninitialized variable: textHeight
- ./macosx/tkMacOSXCarbonEvents.c:418 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXCarbonEvents.c:418 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXCarbonEvents.c:418 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXCarbonEvents.c:418 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_CARBON_EVENTS'.
- ./macosx/tkMacOSXCarbonEvents.c:418 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXCarbonEvents.c:418 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXColor.c:421 [error] - Invalid number of character (() when these macros are defined: ''.
- ./macosx/tkMacOSXColor.c:421 [error] - Invalid number of character (() when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXColor.c:421 [error] - Invalid number of character (() when these macros are defined: '_TK'.
- ./macosx/tkMacOSXColor.c:421 [error] - Invalid number of character (() when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXDebug.c:354 [error] - Undefined behaviour: buf 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.
- ./macosx/tkMacOSXDialog.c:999 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXDialog.c:999 [error] - Invalid number of character ({) when these macros are defined: 'StrBody'.
- ./macosx/tkMacOSXDialog.c:999 [error] - Invalid number of character ({) when these macros are defined: 'StrLength'.
- ./macosx/tkMacOSXDialog.c:999 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXDialog.c:999 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXDialog.c:999 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDRAW_UNUSED'.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_DRAWING'.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXDraw.c:1031 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXEntry.c:114 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXEntry.c:114 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXEntry.c:114 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXEntry.c:114 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXEvent.c:55 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXEvent.c:55 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXEvent.c:55 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXEvent.c:55 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXEvent.c:55 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXHLEvents.c:678 [error] - Uninitialized variable: fileName
- ./macosx/tkMacOSXInit.c:381 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXInit.c:381 [error] - Invalid number of character ({) when these macros are defined: 'TK_FRAMEWORK'.
- ./macosx/tkMacOSXInit.c:381 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXInit.c:381 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXInit.c:381 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXInit.c:381 [error] - Invalid number of character ({) when these macros are defined: '__LP64__'.
- ./macosx/tkMacOSXMenu.c:947 [error] - Uninitialized variable: markChar
- ./macosx/tkMacOSXRegion.c:223 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXRegion.c:223 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXRegion.c:223 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXRegion.c:223 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXWindowEvent.c:498 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXWindowEvent.c:498 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXWindowEvent.c:498 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXWindowEvent.c:498 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_CLIP_REGIONS'.
- ./macosx/tkMacOSXWindowEvent.c:498 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXWindowEvent.c:498 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXWm.c:915 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXWm.c:915 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXWm.c:915 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXWm.c:915 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_WINDOWS'.
- ./macosx/tkMacOSXWm.c:915 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXWm.c:915 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./unix/tkUnixSelect.c:936 [error] - Uninitialized variable: buffer
- ./unix/tkUnixSelect.c:1338 [error] - Uninitialized variable: buffer
- ./win/tkWinMenu.c:2071 [error] - Uninitialized variable: textWidth
- ./win/tkWinMenu.c:2077 [error] - Uninitialized variable: textHeight
- ./win/tkWinMenu.c:2084 [error] - Uninitialized variable: textHeight
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:19:12 +0000, based on results by cppcheck 1.46