search for: 3e265ef

Displaying 2 results from an estimated 2 matches for "3e265ef".

Did you mean: 3.265e
2015 Feb 05
1
[patch] vhost/scsi: potential memory corruption
...at the limit now. In vhost_scsi_send_evt() we mask away values higher than 255, but now that the limit has changed, we don't need the mask. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- Compile tested only. diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 3e265ef..4339222 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c @@ -1278,7 +1278,7 @@ vhost_scsi_send_evt(struct vhost_scsi *vs, * lun[4-7] need to be zero according to virtio-scsi spec. */ evt->event.lun[0] = 0x01; - evt->event.lun[1] = tpg->tport_tpgt & 0xFF; + evt...
2015 Feb 05
1
[patch] vhost/scsi: potential memory corruption
...at the limit now. In vhost_scsi_send_evt() we mask away values higher than 255, but now that the limit has changed, we don't need the mask. Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com> --- Compile tested only. diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c index 3e265ef..4339222 100644 --- a/drivers/vhost/scsi.c +++ b/drivers/vhost/scsi.c @@ -1278,7 +1278,7 @@ vhost_scsi_send_evt(struct vhost_scsi *vs, * lun[4-7] need to be zero according to virtio-scsi spec. */ evt->event.lun[0] = 0x01; - evt->event.lun[1] = tpg->tport_tpgt & 0xFF; + evt...