diff --git a/apr-util-1.2.12-strmatch.patch b/apr-util-1.2.12-strmatch.patch index 2c11269..dc1f3a3 100644 --- a/apr-util-1.2.12-strmatch.patch +++ b/apr-util-1.2.12-strmatch.patch @@ -1,5 +1,14 @@ ---- apr/apr-util/branches/1.3.x/strmatch/apr_strmatch.c 2009/05/29 07:48:33 779879 -+++ apr/apr-util/branches/1.3.x/strmatch/apr_strmatch.c 2009/05/29 07:48:45 779880 +--- apr/apr/trunk/strmatch/apr_strmatch.c 2009/03/24 11:12:27 757729 ++++ apr/apr/trunk/strmatch/apr_strmatch.c 2009/06/02 15:34:46 781063 +@@ -74,7 +74,7 @@ + } + s_tmp--; + } +- s_next += shift[apr_tolower(*s_next)]; ++ s_next += shift[(unsigned char)apr_tolower(*s_next)]; + } + return NULL; + } @@ -103,13 +103,13 @@ if (case_sensitive) { pattern->compare = match_boyer_moore_horspool; diff --git a/apr-util.spec b/apr-util.spec index 39142e5..91d1aaa 100644 --- a/apr-util.spec +++ b/apr-util.spec @@ -4,7 +4,7 @@ Summary: Apache Portable Runtime Utility library Name: apr-util Version: 1.2.12 -Release: 6%{?dist} +Release: 7%{?dist} License: ASL 2.0 Group: System Environment/Libraries URL: http://apr.apache.org/ @@ -150,6 +150,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/*.pc %changelog +* Mon Jun 8 2009 Bojan Smojver - 1.2.12-7 +- include missing bit of the apr_strmatch.c patch + * Mon Jun 8 2009 Bojan Smojver - 1.2.12-6 - CVE-2009-0023 - "billion laughs" fix of apr_xml_* interface