Files
linux/fs/hpfs
Mikulas Patocka 70621db094 hpfs: better test for errors
commit 3ebacb0504 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>
2013-07-13 11:42:26 -07:00
..
2012-05-29 23:28:37 -04:00
2012-10-06 03:05:08 +09:00
2012-05-31 17:49:27 -07:00
2011-01-12 20:02:47 -05:00
2012-10-06 03:05:08 +09:00
2012-12-20 18:40:00 -05:00
2012-05-29 23:28:39 -04:00
2013-01-29 10:48:30 +01:00
2005-04-16 15:20:36 -07:00
2013-07-13 11:42:26 -07:00
2011-05-09 09:04:23 -07:00
2013-07-13 11:42:26 -07:00