From: James Bottomley Date: Tue, 7 Mar 2006 20:53:40 +0000 (-0600) Subject: [SCSI] sr: partial revert of 24669f75a3231fa37444977c92d1f4838bec1233 X-Git-Tag: v2.6.17-rc1~1129^2~4^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12f0a3dec17de3d847f533ba81ad6956c9da5fd;p=pandora-kernel.git [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 for spotting this. Signed-off-by: James Bottomley --- Reading git-diff-tree failed