cppcheck analysis of tk8.5_8.5.8-1.dsc
- ./generic/tkSelect.c:615 [error] - Uninitialized variable: buffer
- ./generic/tkTextBTree.c:1237 [error] - Possible null pointer dereference: linePtr
- ./macosx/tkMacOSXCarbonEvents.c:411 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXCarbonEvents.c:411 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXCarbonEvents.c:411 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXCarbonEvents.c:411 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_CARBON_EVENTS'.
- ./macosx/tkMacOSXCarbonEvents.c:411 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXCarbonEvents.c:411 [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:1035 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXDialog.c:1035 [error] - Invalid number of character ({) when these macros are defined: 'StrBody'.
- ./macosx/tkMacOSXDialog.c:1035 [error] - Invalid number of character ({) when these macros are defined: 'StrLength'.
- ./macosx/tkMacOSXDialog.c:1035 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXDialog.c:1035 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXDialog.c:1035 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./macosx/tkMacOSXDraw.c:1029 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXDraw.c:1029 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXDraw.c:1029 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDRAW_UNUSED'.
- ./macosx/tkMacOSXDraw.c:1029 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXDraw.c:1029 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_DRAWING'.
- ./macosx/tkMacOSXDraw.c:1029 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXDraw.c:1029 [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:672 [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:895 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./macosx/tkMacOSXWm.c:895 [error] - Invalid number of character ({) when these macros are defined: 'TK_MACOSXDEBUG_UNUSED;TK_MAC_DEBUG'.
- ./macosx/tkMacOSXWm.c:895 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG'.
- ./macosx/tkMacOSXWm.c:895 [error] - Invalid number of character ({) when these macros are defined: 'TK_MAC_DEBUG_WINDOWS'.
- ./macosx/tkMacOSXWm.c:895 [error] - Invalid number of character ({) when these macros are defined: 'TK_REBUILD_TOPLEVEL'.
- ./macosx/tkMacOSXWm.c:895 [error] - Invalid number of character ({) when these macros are defined: '_TK'.
- ./macosx/tkMacOSXWm.c:895 [error] - Invalid number of character ({) when these macros are defined: '_TKINT'.
- ./unix/tkUnixSelect.c:928 [error] - Uninitialized variable: buffer
- ./unix/tkUnixSelect.c:1327 [error] - Uninitialized variable: buffer
- ./win/tkWinWm.c:5455 [error] - Uninitialized variable: buf
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