aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_proc.c
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-07 14:53:40 -0600
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-07 14:53:40 -0600
commite12f0a3dec17de3d847f533ba81ad6956c9da5fd (patch)
treedb7c3936468c363d5ba710c6b6e2612a2a734964 /drivers/scsi/scsi_proc.c
parent5e6575c051f3313feb9fe1aad61263b3560df5cc (diff)
[SCSI] sr: partial revert of 24669f75a3231fa37444977c92d1f4838bec1233
The patch [SCSI] SCSI core kmalloc2kzalloc Has an incorrect piece in sr_ioctl.c; it changes buffer from kmalloc to kzalloc, but then removes the clearing of the stack variable struct packet_command. This, in turn leaves rubbish in the sense pointer which the sr_do_ioctl() command then happily writes to ... oops. Thanks to Mike Christie <michaelc@cs.wisc.edu> for spotting this. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_proc.c')
0 files changed, 0 insertions, 0 deletions