Browse files

Merge pull request #1 from joshzimmerman/patch-1

Fixed possible overflow error for large arrays in binary search.
2 parents b5ede32 + 4da4895 commit 12f6c6b6fe64081d9fbd447b6b5af9b2c8f53dd8 @duiker101 committed Sep 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

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 and ill try to get back to you as soon as possible thanks.

Please sign in to comment.