Incorrect patch of btrfs_ioctl_space_info
Posted: Wed Mar 25, 2015 12:11 pm
The changes to btrfs_ioctl_space_info() (fs/btrfs/ioctl.c) in grsecurity-3.1-3.14.36-201503182218.patch are incorrect and should be removed.
According to https://lkml.org/lkml/2011/2/9/172, slot_count should be decremented and checked within the for loop, not outside it.
According to https://lkml.org/lkml/2011/2/9/172, slot_count should be decremented and checked within the for loop, not outside it.