File libxslt-CVE-2011-3970.patch of Package libxslt.614

Index: libxslt-1.1.26/libxslt/pattern.c
===================================================================
--- libxslt-1.1.26.orig/libxslt/pattern.c	2009-09-17 14:58:46.000000000 +0200
+++ libxslt-1.1.26/libxslt/pattern.c	2012-02-09 11:34:35.661740912 +0100
@@ -1864,6 +1864,8 @@
 		while ((pattern[end] != 0) && (pattern[end] != '"'))
 		    end++;
 	    }
+	    if (pattern[end] == 0)
+		    break;
 	    end++;
 	}
 	if (current == end) {
openSUSE Build Service is sponsored by