aboutsummaryrefslogtreecommitdiff
path: root/fs/jffs2/jffs2_fs_i.h
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 11:03:40 -0700
commit5f855daf6487b64eae1f201483b5830f42b2e9bb (patch)
treeea7611865b0a3c52d3be717ece53e0f5e5ac14b1 /fs/jffs2/jffs2_fs_i.h
parent46796ed300f4f9ffa297ff548f0e2f08b7614f3b (diff)
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 'fs/jffs2/jffs2_fs_i.h')
0 files changed, 0 insertions, 0 deletions