components/libxslt/patches/CVE-2011-3970.patch
branchs11-update
changeset 2451 f54396da08ea
parent 2448 c1b40b77a1ae
child 2452 9dc4dfa4b04d
equal deleted inserted replaced
2448:c1b40b77a1ae 2451:f54396da08ea
     1 --- libxslt-1.1.26/libxslt/pattern.c.orig	2012-07-03 10:07:47.903679049 -0700
       
     2 +++ libxslt-1.1.26/libxslt/pattern.c	2012-07-03 10:08:43.621787188 -0700
       
     3 @@ -1864,6 +1864,8 @@
       
     4  		while ((pattern[end] != 0) && (pattern[end] != '"'))
       
     5  		    end++;
       
     6  	    }
       
     7 +	    if (pattern[end] == 0)
       
     8 +		break;
       
     9  	    end++;
       
    10  	}
       
    11  	if (current == end) {