head	1.2;
access;
symbols
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2010.05.06.23.10.19;	author pgollucci;	state dead;
branches;
next	1.1;

1.1
date	2009.06.08.05.11.09;	author pgollucci;	state Exp;
branches;
next	;


desc
@@


1.2
log
@- Regenerate patch files with make makepatch for they have
  piled up and additional patches conflict.
  This also will help when we try to syncronize www/apache20&www/apache22

With Hat:   apache@@
@
text
@Fix underflow in apr_strmatch_precompile,
  http://svn.apache.org/viewvc/apr/apr/trunk/strmatch/apr_strmatch.c?r1=757729&r2=779878&view=patch

--- srclib/apr-util/strmatch/apr_strmatch.c	2009/03/24 11:12:27	757729
+++ srclib/apr-util/strmatch/apr_strmatch.c	2009/05/29 07:47:52	779878
@@@@ -103,13 +103,13 @@@@
     if (case_sensitive) {
         pattern->compare = match_boyer_moore_horspool;
         for (i = 0; i < pattern->length - 1; i++) {
-            shift[(int)s[i]] = pattern->length - i - 1;
+            shift[(unsigned char)s[i]] = pattern->length - i - 1;
         }
     }
     else {
         pattern->compare = match_boyer_moore_horspool_nocase;
         for (i = 0; i < pattern->length - 1; i++) {
-            shift[apr_tolower(s[i])] = pattern->length - i - 1;
+            shift[(unsigned char)apr_tolower(s[i])] = pattern->length - i - 1;
         }
     }
     pattern->context = shift;
@


1.1
log
@- Backport apr-util security fixes pending the 2.2.12 release (forthcomming)

Security:       http://www.vuxml.org/freebsd/eb9212f7-526b-11de-bbf2-001b77d09812
PR:             ports/135310
Submitted by:   Eygene Ryabinkin <rea-fbsd@@codelabs.ru>
With Hat:       apache
@
text
@@

