aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2009-03-03 14:48:36 -0500
committerFelix Blyakher <[email protected]>2009-03-04 07:31:42 -0600
commite8fa6b483feebd23ded5eb01afd7a6e82b6078c6 (patch)
tree39bdbcae18f9199c09e62c44136dc4b67bf2284b /drivers/mtd/lpddr/lpddr_cmds.c
parentd4fc7cea5dda04ae1a6f36175ec1dd8ff088ed52 (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 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions