3 ms·
So what 'bout this? It's the latest glibc. https://fossies.org/dox/glibc-2.25/stdlib-bsearch_8h_source.html https://fossies.org/dox/glibc-2.25/stdlib-bsearch_8
by pishpash 9y ago
So what 'bout this? It's the latest glibc.
https://fossies.org/dox/glibc-2.25/stdlib-bsearch_8h_source.html https://fossies.org/dox/glibc-2.25/stdlib-bsearch_8h_source....
- justin66 9y agoThe problematic line is: __idx = (__l + __u) / 2; __idx, __l, and __u are all the same type and the addition of __l and __u could cause an overflow resulting in a nonsense value assigned to __idx.
- pishpash 9y agoSeems like it's still an open ticket: https://sourceware.org/bugzilla/show_bug.cgi?id=2753 https://sourceware.org/bugzilla/show_bug.cgi?id=2753