Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > 452d4a4265055c84ee2241e5b681dbe4 > files > 3

libxslt-1.1.26-4.3.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) {