Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Mar 2014 12:48:17 -0400
From: Rich Felker <>
Subject: Re: src/string/strstr.c, src/string/wcsstr.c: wrong estimates
 for MIN(l,63)?

On Fri, Mar 21, 2014 at 03:07:22PM +0100, Yves Bastide wrote:
> Hi,
> twoway_strstr and twoway_wcsstr seem to contain a bogus estimation:
> /* Fast estimate for MIN(l,63) */
> size_t grow = l | 63;
> "grow" is thus always at least 63...

If you look at how grow is used on the very next line, this should
make sense.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.