[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test-memchr failure on rawhide

From: Bruno Haible
Subject: Re: test-memchr failure on rawhide
Date: Mon, 11 May 2009 13:22:15 +0200
User-agent: KMail/1.9.9

Andreas Schwab wrote:
> > And in the context of memchr's return value:
> The context is irrelevant.

You couldn't tell how many bytes memchr is searching through? I tell you:
n bytes. This is clear from ISO C 99 paragraph

glibc's memchr is accessing n+1 bytes in the special case of n = 0. That is
a bug that you cannot deny. Registered at


reply via email to

[Prev in Thread] Current Thread [Next in Thread]