git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94131e1
)
kernel/groups.c: fix integer overflow in groups_search
author
Jerome Marchand
<jmarchan@redhat.com>
Thu, 9 Sep 2010 23:37:59 +0000
(16:37 -0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 10 Sep 2010 01:57:24 +0000
(18:57 -0700)
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 <jmarchan@redhat.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/groups.c
patch
|
blob
|
history
diff --cc
kernel/groups.c
Simple merge