[PATCH] stdlib-bsearch: middle element calculation may overflow
Mike Frysinger
vapier@gentoo.org
Thu Mar 16 07:32:00 GMT 2017
On 16 Mar 2017 14:26, Sergey Senozhatsky wrote:
> Middle element calculation may overflow at '__l + __u' when
> __l and __u are large enough. Use distance between __u and
> __l instead.
do you a simple test case we can include ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20170316/aacd0ec6/attachment.sig>
More information about the Libc-alpha
mailing list