cppcheck analysis of gambas2_2.21.0-2.dsc
- ./gb.db.firebird/src/ibpp/core/statement.cpp:112 [error] - Uninitialized variable: itemsRes
- ./gb.db.firebird/src/ibpp/core/statement.cpp:119 [error] - Uninitialized variable: itemsRes
- ./gb.db.odbc/src/main.c:750 [error] - Possible null pointer dereference: res
- ./gb.db.odbc/src/main.c:751 [error] - Possible null pointer dereference: res
- ./gb.db.odbc/src/main.c:1319 [error] - Uninitialized variable: data
- ./gb.db.odbc/src/main.c:1320 [error] - Uninitialized variable: len
- ./gb.desktop/src/desktop.c:51 [error] - syntax error
- ./gb.gtk.svg/src/main.c:35 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./gb.gtk.svg/src/main.c:64 [error] - Invalid number of character ({) when these macros are defined: '_cpluscplus'.
- ./gb.gtk/src/CContainer.cpp:268 [error] - syntax error
- ./gb.gtk/src/CGridView.cpp:423 [error] - syntax error
- ./gb.gtk/src/CMenu.cpp:314 [error] - syntax error
- ./gb.gtk/src/gapplication.cpp:585 [error] - Possible null pointer dereference: ft - otherwise it is redundant to check if ft is null at line 587
- ./gb.net.curl/src/main.c:40 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./gb.net.curl/src/main.c:76 [error] - Invalid number of character ({) when these macros are defined: '_cpluscplus'.
- ./gb.net.smtp/src/main.c:32 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./gb.net.smtp/src/main.c:53 [error] - Invalid number of character ({) when these macros are defined: '_cpluscplus'.
- ./gb.net/src/CDnsClient.c:403 [error] - syntax error
- ./gb.net/src/main.c:40 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./gb.net/src/main.c:80 [error] - Invalid number of character ({) when these macros are defined: '_cpluscplus'.
- ./gb.opengl/src/GLclipping.c:44 [error] - syntax error
- ./gb.opengl/src/GLcolorLighting.c:144 [error] - syntax error
- ./gb.opengl/src/GLcoordTransf.c:61 [error] - syntax error
- ./gb.opengl/src/GLdisplayList.c:50 [error] - syntax error
- ./gb.opengl/src/GLfog.c:55 [error] - syntax error
- ./gb.opengl/src/GLinfo.c:364 [error] - syntax error
- ./gb.opengl/src/GLtextureMapping.c:62 [error] - syntax error
- ./gb.pcre/src/regexp.c:213 [error] - syntax error
- ./gb.qt/src/CClipboard.cpp:197 [error] - syntax error
- ./gb.qt/src/CDialog.cpp:180 [error] - syntax error
- ./gb.qt/src/CFont.cpp:388 [error] - syntax error
- ./gb.qt/src/CGridView.cpp:1221 [error] - syntax error
- ./gb.qt/src/CImage.cpp:430 [error] - syntax error
- ./gb.qt/src/CSplitter.cpp:144 [error] - syntax error
- ./gb.qt/src/CTabStrip.cpp:565 [error] - syntax error
- ./gb.qt/src/ext/CEditor.cpp:251 [error] - syntax error
- ./gb.qte/src/CClipboard.cpp:197 [error] - syntax error
- ./gb.qte/src/CDialog.cpp:180 [error] - syntax error
- ./gb.qte/src/CFont.cpp:388 [error] - syntax error
- ./gb.qte/src/CGridView.cpp:1221 [error] - syntax error
- ./gb.qte/src/CImage.cpp:430 [error] - syntax error
- ./gb.qte/src/CSplitter.cpp:144 [error] - syntax error
- ./gb.qte/src/CTabStrip.cpp:565 [error] - syntax error
- ./gb.qte/src/ext/CEditor.cpp:251 [error] - syntax error
- ./gb.sdl.sound/src/cdrom.c:333 [error] - syntax error
- ./gb.sdl.sound/src/sound.c:331 [error] - syntax error
- ./gb.v4l/src/CWebcam.c:1043 [error] - syntax error
- ./gb.v4l/src/main.c:41 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./gb.v4l/src/main.c:71 [error] - Invalid number of character ({) when these macros are defined: '_cpluscplus'.
- ./gb.xml/src/CXMLNode.c:150 [error] - syntax error
- ./gb.xml/src/CXMLWriter.c:149 [error] - syntax error
- ./main/gbx/gbx_c_array.c:360 [error] - syntax error
- ./main/gbx/gbx_c_class.c:268 [error] - syntax error
- ./main/gbx/gbx_c_process.c:656 [error] - Possible null pointer dereference: process - otherwise it is redundant to check if process is null at line 678
- ./main/gbx/gbx_c_quote.c:47 [error] - syntax error
- ./main/gbx/gbx_math.c:189 [error] - Division by zero
- ./main/lib/compress/main.c:39 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./main/lib/compress/main.c:124 [error] - Invalid number of character ({) when these macros are defined: '_cpluscplus'.
- ./main/lib/debug/CDebug.c:163 [error] - syntax error
- ./main/lib/draw/CDraw.c:757 [error] - syntax error
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, 31 Jan 2011 06:58:04 +0000, based on results by cppcheck 1.46