Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Mar 2014 15:07:22 +0100
From: Yves Bastide <ybastide@...il.com>
To: musl@...ts.openwall.com
Subject: src/string/strstr.c, src/string/wcsstr.c: wrong estimates for MIN(l,63)?

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...

Regards,

Yves

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.