bug-gnulib
[Top][All Lists]
Advanced

[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 7.21.5.1.(2).

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
  https://bugzilla.redhat.com/show_bug.cgi?id=500136

Bruno




reply via email to

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