r18581 by jghali - #11825 : Crash when importing PDF page

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 30 19:07:48 UTC 2013


Author: jghali
Date: Wed Oct 30 19:07:48 2013
New Revision: 18581

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=18581
Log:
#11825 : Crash when importing PDF page

Modified:
    trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp

Modified: trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=18581&path=/trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/slaoutput.cpp Wed Oct 30 19:07:48 2013
@@ -392,6 +392,8 @@
 {
 	AnnotLink *anl = (AnnotLink*)annota;
 	LinkAction *act = anl->getAction();
+	if (!act)
+		return false;
 	bool validLink = false;
 	int pagNum = 0;
 	int xco = 0;




More information about the scribus-commit mailing list