This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/4] Detect EOL on-the-fly in strstr, strcasestr and memmem.
- From: Maxim Kuvyrkov <maxim at codesourcery dot com>
- To: Andreas Jaeger <aj at suse dot com>
- Cc: <libc-alpha at sourceware dot org>, Carlos O'Donell <carlos_odonell at mentor dot com>,"H. J. Lu Lu" <hjl dot tools at gmail dot com>, Carlos O'Donell<carlos at codesourcery dot com>, Eric Blake <eblake at redhat dot com>, Ryan Arnold<rsa at us dot ibm dot com>
- Date: Tue, 9 Oct 2012 20:11:16 +1300
- Subject: Re: [PATCH 2/4] Detect EOL on-the-fly in strstr, strcasestr and memmem.
- References: <2C516CF2-D083-4C1D-AD27-6A31D381D548@codesourcery.com> <6FB629FE-F509-43DA-B99E-89F725D96BA1@codesourcery.com> <507324D7.7090300@mentor.com> <1939907.5IkbyUJ2eO@byrd>
On 9/10/2012, at 8:06 PM, Andreas Jaeger wrote:
> On Monday, October 08, 2012 15:09:11 Carlos O'Donell wrote:
...
>> I'm reviewed this and it looks correct.
>>
>> OK to checkin as long as you add comments for CHECK_AVAILABLE_AFTER in
>> the header str-two-way.h or somewhere else.
>>
>> I'd like this conditional to be well documented for future
>> maintainers.
>
> Could we have this backported to 2.16, please?
Andreas,
This fix is not needed on 2.16 as the patch that introduced the bug went into 2.17 trunk.
Thanks,
--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics