cppcheck analysis of freeimage_3.10.0-4.dsc
- ./Source/FreeImage/MultiPage.cpp:314 [error] - Possible null pointer dereference: header - otherwise it is redundant to check if header is null at line 325
- ./Source/FreeImage/MultiPage.cpp:365 [error] - Resource leak: handle
- ./Source/FreeImage/PluginGIF.cpp:527 [error] - Using 'memset' on struct that contains a 'std::vector'
- ./Source/FreeImage/PluginJPEG.cpp:141 [error] - Uninitialized variable: buffer
- ./Source/FreeImageToolkit/JPEGTransform.cpp:72 [error] - Uninitialized variable: buffer
- ./Source/LibJPEG/jerror.c:99 [error] - Uninitialized variable: buffer
- ./Source/LibJPEG/jmemmgr.c:1067 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1068 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1069 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1070 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1071 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1072 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1073 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1074 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1075 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1076 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1077 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1080 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1083 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1086 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1087 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1089 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1090 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/jmemmgr.c:1092 [error] - Possible null pointer dereference: mem
- ./Source/LibJPEG/wrjpgcom.c:583 [error] - Memory leak: comment_arg
- ./Source/LibTIFF/tif_jpeg.c:228 [error] - Uninitialized variable: buffer
- ./Source/LibTIFF/tif_jpeg.c:244 [error] - Uninitialized variable: buffer
- ./Source/LibTIFF/tif_ojpeg.c:2368 [error] - Uninitialized variable: buffer
- ./Source/LibTIFF/tif_ojpeg.c:2376 [error] - Uninitialized variable: buffer
- ./Source/OpenEXR/IlmImf/ImfHeader.cpp:863 [error] - Uninitialized variable: magic
- ./Source/OpenEXR/IlmImf/ImfHeader.cpp:866 [error] - Uninitialized variable: magic
- ./Source/OpenEXR/IlmImf/ImfHeader.cpp:897 [error] - Uninitialized variable: name
- ./Source/OpenEXR/IlmImf/ImfHeader.cpp:899 [error] - Uninitialized variable: name
- ./Source/OpenEXR/IlmImf/ImfHeader.cpp:909 [error] - Uninitialized variable: typeName
- ./Source/OpenEXR/IlmImf/ImfHeader.cpp:910 [error] - Uninitialized variable: size
- ./Source/OpenEXR/IlmImf/ImfMisc.cpp:290 [error] - Uninitialized variable: f
- ./Source/OpenEXR/IlmImf/ImfMisc.cpp:307 [error] - Uninitialized variable: ui
- ./Source/OpenEXR/IlmImf/ImfMisc.cpp:327 [error] - Uninitialized variable: f
- ./Source/OpenEXR/IlmImf/ImfMisc.cpp:344 [error] - Uninitialized variable: ui
- ./Source/OpenEXR/IlmImf/ImfPizCompressor.cpp:540 [error] - Uninitialized variable: minNonZero
- ./Source/OpenEXR/IlmImf/ImfPizCompressor.cpp:541 [error] - Uninitialized variable: maxNonZero
- ./Source/OpenEXR/IlmImf/ImfPizCompressor.cpp:549 [error] - Uninitialized variable: minNonZero
- ./Source/OpenEXR/IlmImf/ImfPizCompressor.cpp:563 [error] - Uninitialized variable: length
- ./Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp:256 [error] - Uninitialized variable: y
- ./Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp:259 [error] - Uninitialized variable: dataSize
- ./Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp:261 [error] - Uninitialized variable: dataSize
- ./Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp:357 [error] - Uninitialized variable: yInFile
- ./Source/OpenEXR/IlmImf/ImfScanLineInputFile.cpp:360 [error] - Uninitialized variable: yInFile
- ./Source/OpenEXR/IlmImf/ImfTestFile.cpp:60 [error] - Uninitialized variable: magic
- ./Source/OpenEXR/IlmImf/ImfTestFile.cpp:61 [error] - Uninitialized variable: version
- ./Source/OpenEXR/IlmImf/ImfTestFile.cpp:102 [error] - Uninitialized variable: magic
- ./Source/OpenEXR/IlmImf/ImfTestFile.cpp:103 [error] - Uninitialized variable: version
- ./Source/OpenEXR/IlmImf/ImfTileOffsets.cpp:123 [error] - Uninitialized variable: tileX
- ./Source/OpenEXR/IlmImf/ImfTileOffsets.cpp:126 [error] - Uninitialized variable: tileY
- ./Source/OpenEXR/IlmImf/ImfTileOffsets.cpp:129 [error] - Uninitialized variable: levelX
- ./Source/OpenEXR/IlmImf/ImfTileOffsets.cpp:132 [error] - Uninitialized variable: levelY
- ./Source/OpenEXR/IlmImf/ImfTileOffsets.cpp:135 [error] - Uninitialized variable: dataSize
- ./Source/OpenEXR/IlmImf/ImfTileOffsets.cpp:137 [error] - Uninitialized variable: dataSize
- ./Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp:315 [error] - Uninitialized variable: tileXCoord
- ./Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp:316 [error] - Uninitialized variable: tileYCoord
- ./Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp:317 [error] - Uninitialized variable: levelX
- ./Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp:318 [error] - Uninitialized variable: levelY
- ./Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp:321 [error] - Uninitialized variable: tileXCoord
- ./Source/OpenEXR/IlmImf/ImfTiledInputFile.cpp:324 [error] - Uninitialized variable: tileYCoord
- ./Source/ZLib/gzio.c:149 [error] - Memory leak: s.path
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 09:58:04 +0000, based on results by cppcheck 1.46