cppcheck analysis of qt-x11-free_3.3.8b-7.dsc
- ./examples/demo/opengl/glinfo_x11.cpp:196 [error] - instance of "visualAttribs" object destroyed immediately
- ./src/kernel/qjpegio.cpp:82 [error] - Uninitialized variable: buffer
- ./src/kernel/qmngio.cpp:192 [error] - Common realloc mistake: "buffer" nulled but not freed upon failure
- ./qmake/generators/mac/metrowerks_xml.cpp:751 [style] - The iterator incrementing is suspicious - it is incremented at line 751 and then at line 725 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qmake/generators/makefile.cpp:107 [error] - Common realloc mistake: "big_buffer" nulled but not freed upon failure
- ./qmake/generators/makefile.cpp:125 [error] - Resource leak: file
- ./qmake/generators/unix/unixmake.cpp:421 [style] - The iterator incrementing is suspicious - it is incremented at line 421 and then at line 413 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./qmake/generators/unix/unixmake.cpp:688 [style] - The iterator incrementing is suspicious - it is incremented at line 688 and then at line 653 The loop might unintentionally skip an element in the container. There is no comparison between these increments to prevent that the iterator is incremented beyond the end.
- ./src/3rdparty/libjpeg/jerror.c:103 [error] - Uninitialized variable: buffer
- ./src/3rdparty/libjpeg/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libjpeg/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./src/3rdparty/libpng/pngmem.c:437 [error] - Invalid number of character (() when these macros are defined: 'MAXSEG_64K'.
- ./src/3rdparty/libpng/pngmem.c:437 [error] - Invalid number of character (() when these macros are defined: 'MAXSEG_64K;_MSC_VER'.
- ./src/3rdparty/sqlite/main.c:148 [error] - Possible null pointer dereference: pTab - otherwise it is redundant to check if pTab is null at line 149
- ./src/3rdparty/sqlite/shell.c:112 [error] - Common realloc mistake: "zLine" nulled but not freed upon failure
- ./src/3rdparty/sqlite/shell.c:131 [error] - Common realloc mistake: "zLine" nulled but not freed upon failure
- ./src/3rdparty/sqlite/shell.c:1044 [error] - Common realloc mistake: "zSql" nulled but not freed upon failure
- ./src/3rdparty/zlib/gzio.c:149 [error] - Memory leak: s.path
- ./src/codecs/qtextcodec.cpp:2387 [error] - Possible null pointer dereference: reverseMap
- ./src/codecs/qtextcodec.cpp:2388 [error] - Possible null pointer dereference: reverseMap
- ./src/codecs/qtextcodec.cpp:2407 [error] - Possible null pointer dereference: reverseMap
- ./src/codecs/qtextcodec.cpp:2408 [error] - Possible null pointer dereference: reverseMap
- ./src/codecs/qtextcodec.cpp:2422 [error] - Possible null pointer dereference: reverseMap
- ./src/codecs/qtextcodec.cpp:2423 [error] - Possible null pointer dereference: reverseMap
- ./src/kernel/qapplication.cpp:3373 [error] - Possible null pointer dereference: globalPostedEvents
- ./src/kernel/qapplication_x11.cpp:2575 [error] - Possible null pointer dereference: bla
- ./src/kernel/qapplication_x11.cpp:2599 [error] - Possible null pointer dereference: bla
- ./src/kernel/qapplication_x11.cpp:2474 [error] - Uninitialized variable: data
- ./src/kernel/qclipboard_x11.cpp:1025 [error] - Memory leak: d
- ./src/kernel/qclipboard_x11.cpp:1044 [error] - Memory leak: d
- ./src/kernel/qfontdatabase.cpp:262 [error] - Common realloc mistake: "pixelSizes" nulled but not freed upon failure
- ./src/kernel/qfontdatabase.cpp:165 [error] - Common realloc mistake: "encodings" nulled but not freed upon failure
- ./src/kernel/qfontdatabase_x11.cpp:1039 [error] - Uninitialized variable: size
- ./src/kernel/qfontengine_x11.cpp:2569 [error] - Common realloc mistake: "tmpAttributes" nulled but not freed upon failure
- ./src/kernel/qfontengine_x11.cpp:2570 [error] - Common realloc mistake: "tmpLogClusters" nulled but not freed upon failure
- ./src/kernel/qimage.cpp:1835 [error] - Memory leak: line1
- ./src/kernel/qimage.cpp:1835 [error] - Memory leak: line2
- ./src/kernel/qpsprinter.cpp:5634 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./src/kernel/qpsprinter.cpp:5659 [error] - Common realloc mistake: "out" nulled but not freed upon failure
- ./src/kernel/qregion_x11.cpp:2231 [error] - Memory leak: region
- ./src/kernel/qrichtext.cpp:7988 [error] - Possible null pointer dereference: cell - otherwise it is redundant to check if cell is null at line 7989
- ./src/kernel/qrichtext.cpp:8026 [error] - Possible null pointer dereference: cell - otherwise it is redundant to check if cell is null at line 8027
- ./src/kernel/qsignalmapper.cpp:109 [error] - Memory leak: rec
- ./src/kernel/qsignalmapper.cpp:124 [error] - Memory leak: rec
- ./src/kernel/qtextengine_unix.cpp:63 [error] - Common realloc mistake: "d" nulled but not freed upon failure
Note: this report is incomplete, which means that an error ocurred
while checking this package and not all of the code was analysed.
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Tue, 21 Dec 2010 06:58:10 +0000, based on results by cppcheck 1.46