diff options
author | Timo Warns <Warns@pre-sense.de> | 2011-04-15 00:21:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-15 01:06:54 +0200 |
commit | c340b1d640001c8c9ecff74f68fd90422ae2448a (patch) | |
tree | 2615bb9abb9fb956197c8f357dee388d15d82d81 /mm | |
parent | drivers/rtc/rtc-mc13xxx.c: fix unterminated platform_device_id table (diff) | |
download | linux-c340b1d640001c8c9ecff74f68fd90422ae2448a.tar.xz linux-c340b1d640001c8c9ecff74f68fd90422ae2448a.zip |
fs/partitions/ldm.c: fix oops caused by corrupted partition table
The kernel automatically evaluates partition tables of storage devices.
The code for evaluating LDM partitions (in fs/partitions/ldm.c) contains
a bug that causes a kernel oops on certain corrupted LDM partitions.
A kernel subsystem seems to crash, because, after the oops, the kernel no
longer recognizes newly connected storage devices.
The patch validates the value of vblk_size.
[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Timo Warns <warns@pre-sense.de>
Cc: Eugene Teo <eugeneteo@kernel.sg>
Cc: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Richard Russon <rich@flatcap.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions