r20851 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Mon Feb 1 12:41:33 UTC 2016


Author: jghali
Date: Mon Feb  1 12:41:33 2016
New Revision: 20851

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

Modified:
    trunk/Scribus/scribus/ui/imageinfodialog.cpp

Modified: trunk/Scribus/scribus/ui/imageinfodialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20851&path=/trunk/Scribus/scribus/ui/imageinfodialog.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/imageinfodialog.cpp	(original)
+++ trunk/Scribus/scribus/ui/imageinfodialog.cpp	Mon Feb  1 12:41:33 2016
@@ -106,6 +106,10 @@
 		if ((exposureTime > 0.0) && (exposureTime <= 0.5))
 			tag += QString().sprintf(" (1/%d)", (int)(0.5 + 1/exposureTime) );
 	}
+	Text7 = Text8 = 0;
+	ExposureTime = 0;
+	ApertureFNumber= 0;
+	ISOequivalent = 0;
 	if (info->type == 0)
 	{
 		ExposureTime = new QLabel(tag, ExGroup);




More information about the scribus-commit mailing list