#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
250823 |
|
20-May-2013 |
pfg |
grep: change some int types.
Change several int variables to size_t, ssize_t, or ptrdiff_t. This should fix the bug described in CVE-2012-5667 when an input line is so long that its length cannot be stored in an int variable.
This is based on NetBSD's revision which says:
This change to NetBSD's version of GNU grep 2.5.1 (licenced under GPLv2) was made without direct reference to any code licenced under GPLv3.
Obtained from: NetBSD MFC after: 3 days
|
#
155829 |
|
19-Feb-2006 |
tjr |
Correctly locate the character preceeding the matched string in -w mode when in non-UTF-8 multibyte locales (e.g. EUC, GB2312, etc.).
PR: 91909
|
#
151647 |
|
25-Oct-2005 |
tjr |
Fix 'grep -Fw' for encodings other than UTF-8 (RH bug #161700).
PR: 87969 Obtained from: Fedora (Tim Waugh)
|
#
146820 |
|
31-May-2005 |
tjr |
Pass the RE_ICASE flag to re_set_syntax() as appropriate to fix case-insensitive matching (-i option) in certain multibyte locales.
Obtained from: Fedora
|
#
146207 |
|
14-May-2005 |
tjr |
Fixed -w handling for EGexecute.
Obtained from: Fedora (Tim Waugh)
|
#
146206 |
|
14-May-2005 |
tjr |
Automatically disable DFA when processing multibyte input. GREP_USE_DFA environment variable overrides.
Obtained from: Fedora (Tim Waugh)
|
#
146205 |
|
14-May-2005 |
tjr |
Better multibyte handling in EGexecute() and Fexecute(). Fixed -Fi for multibyte input (RH bug #143079).
Obtained from: Fedora (Jakub Jelinek, Tim Waugh)
|
#
146201 |
|
14-May-2005 |
tjr |
Fixed a bug in the fgrep patch, exposed by the dfa-optional patch (RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch.
Obtained from: Fedora (Jakub Jelinek, Tim Waugh)
|
#
146199 |
|
14-May-2005 |
tjr |
Remove mb-caching hack.
Obtained from: Fedora (Tim Waugh)
|
#
131576 |
|
04-Jul-2004 |
tjr |
Make grep run much (~10x) faster in multibyte locales by caching the wide character representation of input data across calls to dfaexec(), and by caching the lengths of character across calls to check_multibyte_string().
Obtained from: Fedora (Tim Waugh)
|
#
131569 |
|
04-Jul-2004 |
tjr |
Avoid accessing accessing memory past the end of mb_properties in the degenerate case of fgrep with an empty pattern in a multibyte locale. Found by phkmalloc.
|
#
131564 |
|
04-Jul-2004 |
tjr |
Improve case-insensitive matching in multibyte locales.
Obtained from: Isamu Hasegawa (IBM) via Fedora
|
#
131563 |
|
04-Jul-2004 |
tjr |
Fix failure of fgrep to report some matches (Red Hat bug #116909).
Obtained from: Fedora (Tim Waugh)
|
#
131557 |
|
04-Jul-2004 |
tjr |
Merge local changes.
|
#
126435 |
|
01-Mar-2004 |
ache |
Merge conflicts, upgrade
|
#
125894 |
|
16-Feb-2004 |
ache |
1) Remove files no longer needed. 2) Switch back to regex.h
|
#
56920 |
|
31-Jan-2000 |
ru |
Merge FreeBSD changes into 2.4d.
|
#
55379 |
|
04-Jan-2000 |
obrien |
Merge FreeBSD chagnes into GNU grep 2.4.
|
#
53479 |
|
20-Nov-1999 |
obrien |
Merge FreeBSD changes into 2.3: * rev 1.2 - use -lgnuregex
FreeBSD changes OBE'ed by 2.3: * revs 1.4-5 - icase searches & ctype macro changes, fuctionality moved elsewhere. * rev 1.3 - Remove trailing whitespace. The GNU Grep maintainers did this for us.
Submitted by: ru
|
#
53451 |
|
20-Nov-1999 |
peter |
Back out the botched attempt to update to gnu grep 2.3 (lots of history was lost). Restore original version to try and avoid breaking the build while David O'brien does a proper set of imports and merges.
Requested by: obrien
|