]> err.no Git - linux-2.6/commit
[PATCH] check for failed kmalloc in inftlmount.c
authorGreg Ungerer <gerg@snapgear.com>
Mon, 7 Nov 2005 04:09:50 +0000 (14:09 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 16:00:46 +0000 (08:00 -0800)
commit8766af935f3f018ec4fd420644360643838ec323
tree2c6c07bf6acc1fe68782608ec116b76a38385a8f
parent3aec6fe2a24067ffeb2e7641bd9dd18e41654842
[PATCH] check for failed kmalloc in inftlmount.c

The INFTL mount code contains a kmalloc() followed by a memset() without
handling a possible memory allocation failure.

Signed-off-by: <panagiotis.issaris@mech.kuleuven.ac.be>
Signed-off-by: Greg Ungerer <gerg@uclinux.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mtd/inftlmount.c