components/libxslt/patches/CVE-2011-3970.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 03 Jul 2012 10:12:18 -0700
changeset 905 b2033895be35
permissions -rw-r--r--
7150789 Problem with library/libxslt

--- 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) {