diff options
| author | Jerome Marchand <[email protected]> | 2010-09-09 16:37:59 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2010-09-09 18:57:24 -0700 |
| commit | 1c24de60e50fb19b94d94225458da17c720f0729 (patch) | |
| tree | a225907a1b341f629037805f086add137e176f4a /arch/powerpc/lib/code-patching.c | |
| parent | 94131e174fedd9f3f9bb148cee4be12f2d46d68e (diff) | |
kernel/groups.c: fix integer overflow in groups_search
gid_t is a unsigned int. If group_info contains a gid greater than
MAX_INT, groups_search() function may look on the wrong side of the search
tree.
This solves some unfair "permission denied" problems.
Signed-off-by: Jerome Marchand <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions