cppcheck analysis of myodbc_5.1.6-1.dsc
- ./driver/handle.c:543 [error] - Possible null pointer dereference: desc - otherwise it is redundant to check if desc is null at line 548
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: ''.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'HAVE_CONFIG_H'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'PACKAGE'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'RC_INVOKED'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'SIZEOF_LONG'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'THREAD'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'USE_IODBC;_UNIX_'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: 'VERSION'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: '_UNIX_'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: '__APPLE__'.
- ./driver/utility.c:2148 [error] - Invalid number of character ({) when these macros are defined: '__WIN__'.
- ./setup/MYODBCSetupConfigDSNEdit.c:99 [error] - Memory leak: origdsn
- ./setupgui/windows/tooltip.cpp:1 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=1, character code=ff)
- ./setupgui/windows/tooltip.cpp:1 [error] - The code contains characters that are unhandled. Neither unicode nor extended ascii are supported. (line=1, character code=fe)
- ./test/odbctap.h:979 [error] - Buffer access out-of-bounds: connIn
- ./test/my_basics.c:286 [error] - Buffer access out-of-bounds: conn
- ./test/my_basics.c:394 [error] - Buffer access out-of-bounds: conn
- ./test/my_basics.c:486 [error] - Buffer access out-of-bounds: username
- ./test/my_basics.c:527 [error] - Buffer access out-of-bounds: conn
- ./test/my_basics.c:593 [error] - Buffer access out-of-bounds: conn
- ./test/my_basics.c:606 [error] - Buffer access out-of-bounds: exp_out
- ./test/my_basics.c:609 [error] - Buffer access out-of-bounds: exp_out
- ./test/my_basics.c:616 [error] - Buffer access out-of-bounds: exp_out
- ./test/my_basics.c:619 [error] - Buffer access out-of-bounds: exp_out
- ./test/my_basics.c:676 [error] - Buffer access out-of-bounds: conn
- ./test/my_catalog.c:959 [error] - Buffer access out-of-bounds: conn
- ./test/my_catalog.c:1361 [error] - Buffer access out-of-bounds: conn
- ./test/my_cursor.c:2740 [error] - Buffer access out-of-bounds: conn
- ./test/my_cursor.c:2833 [error] - Buffer access out-of-bounds: conn
- ./test/my_info.c:222 [error] - Buffer access out-of-bounds: conn
- ./test/my_info.c:316 [error] - Buffer access out-of-bounds: conn
- ./test/my_result.c:788 [error] - Buffer access out-of-bounds: conn
- ./test/my_result.c:855 [error] - Buffer access out-of-bounds: conn
- ./test/my_types.c:802 [error] - Memory leak: sqlnum
- ./test/my_unixodbc.c:128 [error] - Buffer access out-of-bounds: conn_in
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:12 +0000, based on results by cppcheck 1.46