Hi, Please find the latest report on new defect(s) introduced to digiKam found with Coverity Scan. 16 new defect(s) introduced to digiKam found with Coverity Scan. 7 defect(s), reported by Coverity Scan earlier, were marked fixed in the recent build analyzed by Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 16 of 16 defect(s) ** CID 1244203: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 169 in TestMagickIface::testBlendImage()() ** CID 1244204: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 167 in TestMagickIface::testBlendImage()() ** CID 1244205: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 196 in TestMagickIface::testBitblitImage()() ** CID 1244206: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 299 in TestMagickIface::testGeoScaleImage()() ** CID 1244207: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 218 in TestMagickIface::testScaleImage()() ** CID 1244208: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 246 in TestMagickIface::testScaleblitImage()() ** CID 1244209: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 272 in TestMagickIface::testBorderImage()() ** CID 1244210: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 273 in TestMagickIface::testBorderImage()() ** CID 1244211: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 133 in TestMagickIface::testOverlayImage()() ** CID 1244212: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 168 in TestMagickIface::testBlendImage()() ** CID 1244213: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 300 in TestMagickIface::testGeoScaleImage()() ** CID 1244214: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 245 in TestMagickIface::testScaleblitImage()() ** CID 1244215: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 134 in TestMagickIface::testOverlayImage()() ** CID 1244216: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 77 in TestMagickIface::testCreateImage()() ** CID 1244217: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 197 in TestMagickIface::testBitblitImage()() ** CID 1244218: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 106 in TestMagickIface::testDuplicateImage()() ________________________________________________________________________________________________________ *** CID 1244203: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 169 in TestMagickIface::testBlendImage()() 163 QVERIFY (done); 164 165 QCOMPARE (spy->count(), 0); 166 167 delete src0; 168 delete src1; >>> CID 1244203: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "dst" as an argument to "~MagickImage". 169 delete dst; 170 } 171 172 void TestMagickIface::testBitblitImage() 173 { 174 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244204: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 167 in TestMagickIface::testBlendImage()() 161 162 done = api->freeImage(*dst); 163 QVERIFY (done); 164 165 QCOMPARE (spy->count(), 0); 166 >>> CID 1244204: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src0" as an argument to "~MagickImage". 167 delete src0; 168 delete src1; 169 delete dst; 170 } 171 172 void TestMagickIface::testBitblitImage() ________________________________________________________________________________________________________ *** CID 1244205: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 196 in TestMagickIface::testBitblitImage()() 190 191 done = api->freeImage(*dst); 192 QVERIFY (done); 193 194 QCOMPARE (spy->count(), 0); 195 >>> CID 1244205: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src" as an argument to "~MagickImage". 196 delete src; 197 delete dst; 198 } 199 200 void TestMagickIface::testScaleImage() 201 { ________________________________________________________________________________________________________ *** CID 1244206: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 299 in TestMagickIface::testGeoScaleImage()() 293 294 done = api->freeImage(*gsimg); 295 QVERIFY (done); 296 297 QCOMPARE (spy->count(), 0); 298 >>> CID 1244206: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src" as an argument to "~MagickImage". 299 delete src; 300 delete gsimg; 301 } 302 303 void TestMagickIface::testLoadAndSaveFile() 304 { ________________________________________________________________________________________________________ *** CID 1244207: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 218 in TestMagickIface::testScaleImage()() 212 213 done = api->freeImage(*src); 214 QVERIFY (done); 215 216 QCOMPARE (spy->count(), 0); 217 >>> CID 1244207: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src" as an argument to "~MagickImage". 218 delete src; 219 } 220 221 void TestMagickIface::testScaleblitImage() 222 { 223 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244208: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 246 in TestMagickIface::testScaleblitImage()() 240 done = api->freeImage(*dst); 241 QVERIFY (done); 242 243 QCOMPARE (spy->count(), 0); 244 245 delete src; >>> CID 1244208: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "dst" as an argument to "~MagickImage". 246 delete dst; 247 } 248 249 void TestMagickIface::testBorderImage() 250 { 251 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244209: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 272 in TestMagickIface::testBorderImage()() 266 267 done = api->freeImage(*bimg); 268 QVERIFY (done); 269 270 QCOMPARE (spy->count(), 0); 271 >>> CID 1244209: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src" as an argument to "~MagickImage". 272 delete src; 273 delete bimg; 274 } 275 276 void TestMagickIface::testGeoScaleImage() 277 { ________________________________________________________________________________________________________ *** CID 1244210: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 273 in TestMagickIface::testBorderImage()() 267 done = api->freeImage(*bimg); 268 QVERIFY (done); 269 270 QCOMPARE (spy->count(), 0); 271 272 delete src; >>> CID 1244210: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "bimg" as an argument to "~MagickImage". 273 delete bimg; 274 } 275 276 void TestMagickIface::testGeoScaleImage() 277 { 278 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244211: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 133 in TestMagickIface::testOverlayImage()() 127 128 done = api->freeImage(*dst); 129 QVERIFY (done); 130 131 QCOMPARE (spy->count(), 0); 132 >>> CID 1244211: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src" as an argument to "~MagickImage". 133 delete src; 134 delete dst; 135 } 136 137 void TestMagickIface::testBlendImage() 138 { ________________________________________________________________________________________________________ *** CID 1244212: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 168 in TestMagickIface::testBlendImage()() 162 done = api->freeImage(*dst); 163 QVERIFY (done); 164 165 QCOMPARE (spy->count(), 0); 166 167 delete src0; >>> CID 1244212: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src1" as an argument to "~MagickImage". 168 delete src1; 169 delete dst; 170 } 171 172 void TestMagickIface::testBitblitImage() 173 { ________________________________________________________________________________________________________ *** CID 1244213: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 300 in TestMagickIface::testGeoScaleImage()() 294 done = api->freeImage(*gsimg); 295 QVERIFY (done); 296 297 QCOMPARE (spy->count(), 0); 298 299 delete src; >>> CID 1244213: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "gsimg" as an argument to "~MagickImage". 300 delete gsimg; 301 } 302 303 void TestMagickIface::testLoadAndSaveFile() 304 { 305 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244214: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 245 in TestMagickIface::testScaleblitImage()() 239 240 done = api->freeImage(*dst); 241 QVERIFY (done); 242 243 QCOMPARE (spy->count(), 0); 244 >>> CID 1244214: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "src" as an argument to "~MagickImage". 245 delete src; 246 delete dst; 247 } 248 249 void TestMagickIface::testBorderImage() 250 { ________________________________________________________________________________________________________ *** CID 1244215: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 134 in TestMagickIface::testOverlayImage()() 128 done = api->freeImage(*dst); 129 QVERIFY (done); 130 131 QCOMPARE (spy->count(), 0); 132 133 delete src; >>> CID 1244215: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "dst" as an argument to "~MagickImage". 134 delete dst; 135 } 136 137 void TestMagickIface::testBlendImage() 138 { 139 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244216: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 77 in TestMagickIface::testCreateImage()() 71 72 done = api->freeImage(*img); 73 QVERIFY (done); 74 75 QCOMPARE (spy->count(), 0); 76 >>> CID 1244216: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "img" as an argument to "~MagickImage". 77 delete img; 78 } 79 80 void TestMagickIface::testDuplicateImage() 81 { 82 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244217: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 197 in TestMagickIface::testBitblitImage()() 191 done = api->freeImage(*dst); 192 QVERIFY (done); 193 194 QCOMPARE (spy->count(), 0); 195 196 delete src; >>> CID 1244217: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "dst" as an argument to "~MagickImage". 197 delete dst; 198 } 199 200 void TestMagickIface::testScaleImage() 201 { 202 spy->clear(); ________________________________________________________________________________________________________ *** CID 1244218: Use after free (USE_AFTER_FREE) /mnt/devel/GIT/4.x/extra/kipi-plugins/videoslideshow/magickiface/test/testmagickiface.cpp: 106 in TestMagickIface::testDuplicateImage()() 100 101 done = api->freeImage(*dupImg); 102 QVERIFY (done); 103 104 QCOMPARE (spy->count(), 0); 105 >>> CID 1244218: Use after free (USE_AFTER_FREE) >>> Passing freed pointer "img" as an argument to "~MagickImage". 106 delete img; 107 } 108 109 void TestMagickIface::testOverlayImage() 110 { 111 spy->clear(); ________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, http://scan.coverity.com/projects/285?tab=overview To unsubscribe from the email notification for new defects, http://scan5.coverity.com/cgi-bin/unsubscribe.py _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |