linux/drivers/block/mtip32xx
Selvan Mani 3208795e61 mtip32xx: fix potential crash on SEC_ERASE_UNIT
The mtip driver lifted this code from elsewhere and then added a special
handling check for SEC_ERASE_UNIT. If the caller tries to do a security
erase but passes no output data for the command then outbuf is not
allocated and the driver duly explodes.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Selvan Mani <smani@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-11-23 14:32:54 +01:00
..
Kconfig block: mtip32xx: remove HOTPLUG_PCI_PCIE dependancy 2012-04-12 08:47:05 +02:00
Makefile block: Add driver for Micron RealSSD pcie flash cards 2011-11-05 08:35:10 +01:00
mtip32xx.c mtip32xx: fix potential crash on SEC_ERASE_UNIT 2012-11-23 14:32:54 +01:00
mtip32xx.h mtip32xx:Added appropriate timeout value for secure erase 2012-10-30 08:37:27 +01:00