Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Commit [1c24de] Maximize Restore History

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

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>

Jerome Marchand Jerome Marchand 2010-09-09

Linus Torvalds Linus Torvalds 2010-09-10

changed kernel/groups.c
kernel/groups.c Diff Switch to side-by-side view