summaryrefslogtreecommitdiffstats
path: root/drivers/message
diff options
context:
space:
mode:
authorSven Schnelle <svens@bitebene.org>2008-03-10 22:50:04 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-03-15 02:31:18 +0100
commit1b96f8955aaeeb05f7fb7ff548aa12415fbf3904 (patch)
tree2106548e1e383f1d8b9e4ade34a232a0469253d0 /drivers/message
parent[SCSI] arcmsr: fix iounmap error for Type B adapter (diff)
downloadlinux-1b96f8955aaeeb05f7fb7ff548aa12415fbf3904.tar.xz
linux-1b96f8955aaeeb05f7fb7ff548aa12415fbf3904.zip
[SCSI] gdth: Allocate sense_buffer to prevent NULL pointer dereference
Fix NULL pointer dereference during execution of Internal commands, where gdth only allocates scp, but not scp->sense_buffer. The rest of the code assumes that sense_buffer is allocated, which leads to a kernel oops e.g. on reboot (during cache flush). Signed-off-by: Sven Schnelle <svens@stackframe.org> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions