From fb2bb6ba87af8599830bb004f6e2cf82a92d1f28 Mon Sep 17 00:00:00 2001 From: Fabio Rossi Date: Sat, 16 Nov 2013 16:09:45 +0100 Subject: Fix ksvg deadlock with specifically formatted input files This resolves Bug 1418 --- ksvg/impl/svgpathparser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ksvg') diff --git a/ksvg/impl/svgpathparser.cc b/ksvg/impl/svgpathparser.cc index 27eb759c..87a03aca 100644 --- a/ksvg/impl/svgpathparser.cc +++ b/ksvg/impl/svgpathparser.cc @@ -368,7 +368,7 @@ SVGPathParser::parseSVG( const TQString &s, bool process ) lastCommand = command; - if(*ptr == '+' || *ptr == '-' || (*ptr >= '0' && *ptr <= '9')) + if(*ptr == '+' || *ptr == '-' || *ptr == '.' || (*ptr >= '0' && *ptr <= '9')) { // there are still coords in this command if(command == 'M') -- cgit v1.2.1