aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/osd/osd_uld.c
diff options
context:
space:
mode:
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>2013-07-04 18:42:29 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-13 10:34:43 -0700
commitc55035cb085d79311a429129183f43b85bac3994 (patch)
tree479ec12f7e19f4fcd33e9faff6cc17f84fdfad0a /drivers/scsi/osd/osd_uld.c
parenta6ca6dff63f92efa17810ac0a4d33e3b63670482 (diff)
downloadkernel_samsung_smdk4412-c55035cb085d79311a429129183f43b85bac3994.zip
kernel_samsung_smdk4412-c55035cb085d79311a429129183f43b85bac3994.tar.gz
kernel_samsung_smdk4412-c55035cb085d79311a429129183f43b85bac3994.tar.bz2
hpfs: better test for errors
commit 3ebacb05044f82c5f0bb456a894eb9dc57d0ed90 upstream. The test if bitmap access is out of bound could errorneously pass if the device size is divisible by 16384 sectors and we are asking for one bitmap after the end. Check for invalid size in the superblock. Invalid size could cause integer overflows in the rest of the code. Signed-off-by: Mikulas Patocka <mpatocka@artax.karlin.mff.cuni.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/osd/osd_uld.c')
0 files changed, 0 insertions, 0 deletions