On 12/22/2017 09:55 AM, Paolo Bonzini wrote: > scsi_disk_emulate_command passes in_buf == NULL when sent a REQUEST > SENSE command. Check for in_len == 0 before dereferencing in_buf. > > Fixes: f68d98b21fa74155dc7c1fd212474379ac3c7531 > Reported-by: Roman Kagan <rka...@virtuozzo.com> > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> > --- > scsi/utils.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-)
How does this compare to https://lists.gnu.org/archive/html/qemu-devel/2018-01/msg00582.html ? -- Eric Blake, Principal Software Engineer Red Hat, Inc. +1-919-301-3266 Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature