components/libxslt/patches/CVE-2011-3970.patch
changeset 1025 95d154bfbea4
parent 1024 64f927492d58
child 1026 6af2048773a2
equal deleted inserted replaced
1024:64f927492d58 1025:95d154bfbea4
     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) {