Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
xen.7653
CVE-2016-9776-qemuu-net-mcf_fec-infinite-loop-w...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2016-9776-qemuu-net-mcf_fec-infinite-loop-while-receiving-data-in-mcf_fec_receive.patch of Package xen.7653
References: bsc#1013657 CVE-2016-9776 ColdFire Fast Ethernet Controller uses a receive buffer size register(EMRBR) to hold maximum size of all receive buffers. It is set by a user before any operation. If it was set to be zero, ColdFire emulator would go into an infinite loop while receiving data in mcf_fec_receive. Add check to avoid it. Reported-by: Wjjzhang <address@hidden> Signed-off-by: Prasad J Pandit <address@hidden> --- hw/net/mcf_fec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: xen-4.5.5-testing/tools/qemu-xen-dir-remote/hw/net/mcf_fec.c =================================================================== --- xen-4.5.5-testing.orig/tools/qemu-xen-dir-remote/hw/net/mcf_fec.c +++ xen-4.5.5-testing/tools/qemu-xen-dir-remote/hw/net/mcf_fec.c @@ -344,7 +344,7 @@ static void mcf_fec_write(void *opaque, s->tx_descriptor = s->etdsr; break; case 0x188: - s->emrbr = value & 0x7f0; + s->emrbr = value > 0 ? value & 0x7F0 : 0x7F0; break; default: hw_error("mcf_fec_write Bad address 0x%x\n", (int)addr);
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