Comment 3 for bug 199934

Revision history for this message
MartinK (kopp01) wrote :

From the changelog of www.kernel.org kernel 2.6.25 -> so this bug should be fixed with kernel 2.6.25

commit 1b96f8955aaeeb05f7fb7ff548aa12415fbf3904
Author: Sven Schnelle <email address hidden>
Date: Mon Mar 10 22:50:04 2008 +0100

    [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 <email address hidden>
    Signed-off-by: James Bottomley <email address hidden>