• Andrew Morton's avatar
    [PATCH] groups_alloc(0) clobbers memory past end of block · a2c47912
    Andrew Morton authored
    From: Olaf Kirch <okir@suse.de>
    
    Authentication code in net/sunrpc makes frequent use of groups_alloc(0),
    which seems to clobber memory past the end of what it allocated.
    
    If called with gidsetsize == 0, groups_alloc will set nblocks = 0,
    but still does a
    
    	group_info->blocks[0] = group_info->small_block;
    a2c47912
sys.c 37.4 KB