Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1 from joshzimmerman/patch-1

Fixed possible overflow error for large arrays in binary search.
  • Loading branch information...
commit 12f6c6b6fe64081d9fbd447b6b5af9b2c8f53dd8 2 parents b5ede32 + 4da4895
@duiker101 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  kernel.txt
View
2  kernel.txt
@@ -260,7 +260,7 @@ int groups_search(const struct group_info *group_info, gid_t grp)
while (left < right) {
- unsigned int mid = (left+right)/2;
+ unsigned int mid = left + (right - left)/2;
if (grp > GROUP_AT(group_info, mid))

1 comment on commit 12f6c6b

@yopyurl

Hi Duiker this might be out of date but i managed to fix the Access Granted error, the one how it stays at the top and it would be really cool if you could add this code to your script. So if you have the time can you please email me at admin@yopy.cf and ill try to get back to you as soon as possible thanks.

Please sign in to comment.
Something went wrong with that request. Please try again.