diff options
| author | Christoph Hellwig <[email protected]> | 2009-03-03 14:48:36 -0500 |
|---|---|---|
| committer | Felix Blyakher <[email protected]> | 2009-03-06 17:34:45 -0600 |
| commit | ff392c497b43ddedbab5627b53928a654cc5486e (patch) | |
| tree | 3ba2bf44750f902b3480233307d6e1c4129b695a /arch/m32r/boot/compressed/m32r_sio.c | |
| parent | 27e88bf6af7d42adf790f7b2ed7d65475f191cf2 (diff) | |
xfs: prevent kernel crash due to corrupted inode log format
Andras Korn reported an oops on log replay causes by a corrupted
xfs_inode_log_format_t passing a 0 size to kmem_zalloc. This patch handles
to small or too large numbers of log regions gracefully by rejecting the
log replay with a useful error message.
Signed-off-by: Christoph Hellwig <[email protected]>
Reported-by: Andras Korn <[email protected]>
Reviewed-by: Eric Sandeen <[email protected]>
Signed-off-by: Felix Blyakher <[email protected]>
Diffstat (limited to 'arch/m32r/boot/compressed/m32r_sio.c')
0 files changed, 0 insertions, 0 deletions