7150789 Problem with library/libxslt
authorRich Burridge <rich.burridge@oracle.com>
Tue, 03 Jul 2012 10:12:18 -0700
changeset 905 b2033895be35
parent 904 114a5240af22
child 906 64a7c8b456a0
7150789 Problem with library/libxslt
components/libxslt/patches/CVE-2011-3970.patch
--- /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
[email protected]@ -1864,6 +1864,8 @@
+ 		while ((pattern[end] != 0) && (pattern[end] != '"'))
+ 		    end++;
+ 	    }
++	    if (pattern[end] == 0)
++		break;
+ 	    end++;
+ 	}
+ 	if (current == end) {