cppcheck analysis of digikam_1.2.0-7.dsc
- ./libs/3rdparty/libpgf/Decoder.cpp:206 [error] - syntax error
- ./libs/3rdparty/libpgf/Encoder.cpp:145 [error] - syntax error
- ./libs/3rdparty/libpgf/PGFimage.cpp:208 [error] - syntax error
- ./libs/3rdparty/libpgf/PGFimage.cpp:857 [error] - Mismatching allocation and deallocation: temp
- ./libs/3rdparty/libpgf/Stream.cpp:104 [error] - Common realloc mistake: "m_buffer" nulled but not freed upon failure
- ./libs/3rdparty/sqlite2/main.c:148 [error] - Possible null pointer dereference: pTab - otherwise it is redundant to check if pTab is null at line 149
- ./libs/3rdparty/sqlite2/shell.c:112 [error] - Common realloc mistake: "zLine" nulled but not freed upon failure
- ./libs/3rdparty/sqlite2/shell.c:131 [error] - Common realloc mistake: "zLine" nulled but not freed upon failure
- ./libs/3rdparty/sqlite2/shell.c:1048 [error] - Common realloc mistake: "zSql" nulled but not freed upon failure
- ./libs/database/haar/haar.h:140 [error] - Mismatching allocation and deallocation: SignatureMap::indexList
- ./libs/dimg/dimg.cpp:701 [error] - Mismatching allocation and deallocation: file
- ./libs/dimg/dimg.cpp:706 [error] - Mismatching allocation and deallocation: file
- ./libs/dimg/filters/curves/imagecurves.cpp:868 [error] - Resource leak: file
- ./libs/dimg/loaders/jpegloader.cpp:69 [error] - Uninitialized variable: buffer
- ./libs/dimg/loaders/jpegloader.cpp:81 [error] - Uninitialized variable: buffer
- ./libs/dimg/loaders/jpegloader.cpp:93 [error] - Uninitialized variable: buffer
- ./libs/jpegutils/jpegutils.cpp:90 [error] - Uninitialized variable: buffer
- ./libs/jpegutils/jpegutils.cpp:113 [error] - Uninitialized variable: buffer
- ./utilities/imageeditor/editor/imageiface.cpp:179 [error] - Possible null pointer dereference: im - otherwise it is redundant to check if im is null at line 182
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:13:34 +0000, based on results by cppcheck 1.46