summaryrefslogtreecommitdiff
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorJerome Marchand <jmarchan@redhat.com>2010-09-09 23:37:59 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2010-09-10 01:57:24 (GMT)
commit1c24de60e50fb19b94d94225458da17c720f0729 (patch)
treea225907a1b341f629037805f086add137e176f4a /fs/bad_inode.c
parent94131e174fedd9f3f9bb148cee4be12f2d46d68e (diff)
downloadlinux-1c24de60e50fb19b94d94225458da17c720f0729.tar.xz
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 <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>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions