Bug Fix Advisory Updated grep package speeds UTF-8 searching

Advisory: RHBA-2004:083-02
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2004-03-18
Last updated on: 2004-03-18
Affected Products: Red Hat Linux 9
OVAL: N/A

Details

An updated grep package resolving a speed-related problem is now available.

The grep program is a utility for searching through text files.

A deficiency has been identified in grep's search algorithm. The algorithm
was found to be extremely inefficient when searching UTF-8 encoded text.
The source of the inefficiency has been identified and fixed.

UTF-8 is a text encoding method for multibyte representations of
characters, and is the default encoding on Red Hat Linux.

All users are advised to upgrade to these erratum packages, which resolve
this issue.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Linux 9

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/grep-2.5.1-7.8.src.rpm
Missing file
    518f9d1dcf73faaa51ef90c41afda1b2
 
IA-32:
ftp://updates.redhat.com/9/en/os/i386/grep-2.5.1-7.8.i386.rpm
Missing file
    5a0c3fcfcd4c3f937644b8cd71a0cf89
 

Bugs fixed (see bugzilla for more information)

106267 - --line-buffered vs. --line-buffering
111489 - fix for #72641 is wrong
111614 - fgrep -i changes caps to lowercase
111800 - grep probs w/ regex and utf-8
112869 - grep -iE segfaults using \W unless LANG=C
69900 - grep writing output very slow
97785 - grep fails to match correctly, or even consistently



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/