aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYuri Pieters <magejohnyjtp@gmail.com>2020-04-09 01:49:42 +0100
committerYuri Pieters <magejohnyjtp@gmail.com>2020-04-09 01:58:57 +0100
commit447dc2bb9011078e80acbe3f51135ff1ad2bf163 (patch)
treeba5f2446a0197bc5030e16a5fe21072abc667232 /src
parentc45ba49b8b6e8abeb2e96d28860273247e61ab18 (diff)
downloadzig-447dc2bb9011078e80acbe3f51135ff1ad2bf163.tar.gz
zig-447dc2bb9011078e80acbe3f51135ff1ad2bf163.zip
sort.binarySearch: fix integer underflow (#4980)
When the key was smaller than any value in the array, an error was ocurring with the mid being zero and having 1 subtracted from it.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions