Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
qemu.15027
0115-scsi-esp-respect-FIFO-invariant-aft.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0115-scsi-esp-respect-FIFO-invariant-aft.patch of Package qemu.15027
From a94922e06f76b0e9bec120ea838ed4e6ac13f192 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini <pbonzini@redhat.com> Date: Tue, 14 Jun 2016 15:10:24 +0200 Subject: [PATCH] scsi: esp: respect FIFO invariant after message phase The FIFO contains two bytes; hence the write ptr should be two bytes ahead of the read pointer. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> (cherry picked from commit d020aa504cec8f525b55ba2ef982c09dc847c72e) [BR: CVE-2016-5238 BSC#982959] Signed-off-by: Bruce Rogers <brogers@suse.com> --- hw/scsi/esp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/scsi/esp.c b/hw/scsi/esp.c index 66d66213bf..925e1511d9 100644 --- a/hw/scsi/esp.c +++ b/hw/scsi/esp.c @@ -217,7 +217,7 @@ static void write_response(ESPState *s) } else { s->ti_size = 2; s->ti_rptr = 0; - s->ti_wptr = 0; + s->ti_wptr = 2; s->rregs[ESP_RFLAGS] = 2; } esp_raise_irq(s);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor