Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 643341 - memmem, strstr, and strcasestr are broken
memmem, strstr, and strcasestr are broken
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: glibc (Show other bugs)
6.0
All Linux
urgent Severity urgent
: rc
: ---
Assigned To: Andreas Schwab
qe-baseos-tools
: ZStream
Depends On: 641128
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-15 07:01 EDT by RHEL Product and Program Management
Modified: 2016-11-24 11:04 EST (History)
9 users (show)

See Also:
Fixed In Version: glibc-2.12-1.7.el6_0.1
Doc Type: Bug Fix
Doc Text:
Previously, the generic implementation of the strstr() and memmem() functions did not handle certain periodic patterns correctly and could find a false positive match. This error has been fixed, and both functions now work as expected.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-11-10 13:57:37 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2010:0872 normal SHIPPED_LIVE Important: glibc security and bug fix update 2010-11-10 07:10:56 EST

  None (edit)
Description RHEL Product and Program Management 2010-10-15 07:01:52 EDT
This bug has been copied from bug #641128 and has been proposed
to be backported to 6.0 z-stream (EUS).
Comment 4 Jaromir Hradilek 2010-10-15 10:19:57 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Previously, the generic implementation of the strstr() and memmem() functions did not handle certain periodic patterns correctly and failed to find a match. This error has been fixed, and both functions now work as expected.
Comment 5 Eric Blake 2010-10-15 10:27:49 EDT
The bug was false positive matches, not false negatives.  I updated the
technical note accordingly.
Comment 6 Eric Blake 2010-10-15 10:27:49 EDT
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-Previously, the generic implementation of the strstr() and memmem() functions did not handle certain periodic patterns correctly and failed to find a match. This error has been fixed, and both functions now work as expected.+Previously, the generic implementation of the strstr() and memmem() functions did not handle certain periodic patterns correctly and could find a false positive match. This error has been fixed, and both functions now work as expected.
Comment 10 errata-xmlrpc 2010-11-10 13:57:37 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0872.html

Note You need to log in before you can comment on or make changes to this bug.