On 10/29/2014 10:52 AM, Hannes Reinecke wrote:
>>
> Because without this patch we end up with having a (basically random)
> value in cmd.lba, and we're ending up here:
> 
> if (cmd.lba != -1) {
>   trace_scsi_req_parsed_lba(d->id, d->lun, tag, buf[0], cmd.lba);  }

Yeah, this is ugly but not fatal.

> and causing a buffer overflow when printing out the cdb.

Where exactly?  This is the part I don't understand.

Paolo

Reply via email to