This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] stdlib-bsearch: middle element calculation may overflow
- From: Sergey Senozhatsky <sergey dot senozhatsky dot work at gmail dot com>
- To: Pip Cet <pipcet at gmail dot com>
- Cc: Sergey Senozhatsky <sergey dot senozhatsky dot work at gmail dot com>, Mike Frysinger <vapier at gentoo dot org>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, Sergey Senozhatsky <sergey dot senozhatsky at gmail dot com>
- Date: Thu, 16 Mar 2017 18:03:21 +0900
- Subject: Re: [PATCH] stdlib-bsearch: middle element calculation may overflow
- Authentication-results: sourceware.org; auth=none
- References: <20170316052615.7662-1-sergey.senozhatsky@gmail.com> <20170316073208.GY24205@vapier> <20170316082639.GD464@jagdpanzerIV.localdomain> <CAOqdjBfaj_jWCaokva2i-dm-t_fALKvnzjxPyjoFu9WXbPa=uA@mail.gmail.com>
On (03/16/17 08:53), Pip Cet wrote:
> I don't see why any of the array elements need to be valid
hm, indeed ;)
-ss