Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > 5780ad04c9d8a2eca24752c57efbca09 > files > 2

libxslt-1.1.26-5.3.mga1.src.rpm

--- libxslt/pattern.c	2009-09-17 12:58:46.000000000 +0000
+++ libxslt/pattern.c.oden	2012-03-01 04:43:32.000000000 +0000
@@ -1864,6 +1864,8 @@ xsltCompilePatternInternal(const xmlChar
 		while ((pattern[end] != 0) && (pattern[end] != '"'))
 		    end++;
 	    }
+	    if (pattern[end] == 0)
+		    break;
 	    end++;
 	}
 	if (current == end) {