Hello community, here is the log from the commit of package grep checked in at Sun Jun 11 12:09:19 CEST 2006. -------- --- grep/grep.changes 2006-03-15 19:25:41.000000000 +0100 +++ grep/grep.changes 2006-06-11 11:01:42.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jun 11 11:01:12 CEST 2006 - schwab@suse.de + +- Fix crash with -P '\xa'. + +------------------------------------------------------------------- New: ---- pcre-execute.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grep.spec ++++++ --- /var/tmp/diff_new_pack.qMvgDl/_old 2006-06-11 12:08:30.000000000 +0200 +++ /var/tmp/diff_new_pack.qMvgDl/_new 2006-06-11 12:08:30.000000000 +0200 @@ -19,7 +19,7 @@ Autoreqprov: on PreReq: %{install_info_prereq} Version: 2.5.1a -Release: 13 +Release: 20 Summary: Print lines matching a pattern Source: grep-%{version}.tar.bz2 Patch: grep-%{version}.diff @@ -33,6 +33,7 @@ Patch8: grep-manpage-err.diff Patch9: grep-2.5.1a-mbcset.diff Patch10: skip-devices.diff +Patch11: pcre-execute.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -63,6 +64,7 @@ %patch8 %patch9 %patch10 +%patch11 rename no nb po/no.* %build @@ -105,6 +107,8 @@ /usr/share/locale/*/LC_MESSAGES/grep.mo %changelog -n grep +* Sun Jun 11 2006 - schwab@suse.de +- Fix crash with -P '\xa'. * Wed Mar 15 2006 - schwab@suse.de - Don't block on opening a pipe when devices are supposed to be skipped [#149660]. ++++++ pcre-execute.diff ++++++ --- src/search.c +++ src/search.c @@ -805,8 +805,8 @@ char eol = eolbyte; if (!exact) { - end = memchr (end, eol, buflim - end); - end++; + if (!(end > buf && end[-1] == eol)) + end = memchr (end, eol, buflim - end) + 1; while (buf < beg && beg[-1] != eol) --beg; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org
participants (1)
-
root@suse.de