r19427 by jghali - #12606 related: Enabling "Absolute Coordinates" triggers out of bound memory read

scribus-commit scribus-commit at lists.scribus.net
Fri Aug 15 05:56:22 UTC 2014


Author: jghali
Date: Fri Aug 15 05:56:22 2014
New Revision: 19427

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19427
Log:
#12606 related: Enabling "Absolute Coordinates" triggers out of bound memory read

Modified:
    branches/Version14x/Scribus/scribus/scribusdoc.cpp

Modified: branches/Version14x/Scribus/scribus/scribusdoc.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19427&path=/branches/Version14x/Scribus/scribus/scribusdoc.cpp
==============================================================================
--- branches/Version14x/Scribus/scribus/scribusdoc.cpp (original)
+++ branches/Version14x/Scribus/scribus/scribusdoc.cpp Fri Aug 15 05:56:22 2014
@@ -10980,13 +10980,14 @@
 
 bool NodeEditContext::hasNodeSelected() 
 { 
-	return ClRe != -1; 
+	return ClRe != -1;
 }
 
 
 void NodeEditContext::deselect() 
 { 
-	ClRe = -1; 
+	ClRe = -1;
+	SelNode.clear();
 }
 
 void NodeEditContext::reset()




More information about the scribus-commit mailing list