components/libxslt/patches/CVE-2011-3970.patch
changeset 905 b2033895be35
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libxslt/patches/CVE-2011-3970.patch	Tue Jul 03 10:12:18 2012 -0700
@@ -0,0 +1,11 @@
+--- libxslt-1.1.26/libxslt/pattern.c.orig	2012-07-03 10:07:47.903679049 -0700
++++ libxslt-1.1.26/libxslt/pattern.c	2012-07-03 10:08:43.621787188 -0700
+@@ -1864,6 +1864,8 @@
+ 		while ((pattern[end] != 0) && (pattern[end] != '"'))
+ 		    end++;
+ 	    }
++	    if (pattern[end] == 0)
++		break;
+ 	    end++;
+ 	}
+ 	if (current == end) {