r20831 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sun Jan 31 00:36:53 UTC 2016


Author: jghali
Date: Sun Jan 31 00:36:53 2016
New Revision: 20831

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20831
Log:
coverity #1350646: uninitialized pointer field

Modified:
    trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp

Modified: trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20831&path=/trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp	(original)
+++ trunk/Scribus/scribus/plugins/picbrowser/previewimage.cpp	Sun Jan 31 00:36:53 2016
@@ -48,6 +48,9 @@
 	fileInformation.setFile ( imageFile );
 //enable caching
 	fileInformation.setCaching ( true );
+
+	imgInfo = NULL;
+	currentSize = 1;
 }
 
 




More information about the scribus-commit mailing list