Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:Update
xen.10696
CVE-2018-18438-qemuu-004-integer-overflow-in-cc...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2018-18438-qemuu-004-integer-overflow-in-ccid_card_vscard_read-allows-memory-corruption.patch of Package xen.10696
References: bsc#1112188 CVE-2018-18438 Suggested-by: Paolo Bonzini <address@hidden> Signed-off-by: Philippe Mathieu-Daudé <address@hidden> --- chardev/char.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) Index: xen-4.5.5-testing/tools/qemu-xen-dir-remote/qemu-char.c =================================================================== --- xen-4.5.5-testing.orig/tools/qemu-xen-dir-remote/qemu-char.c +++ xen-4.5.5-testing/tools/qemu-xen-dir-remote/qemu-char.c @@ -154,9 +154,12 @@ int qemu_chr_fe_ioctl(CharDriverState *s int qemu_chr_be_can_write(CharDriverState *s) { + int res; if (!s->chr_can_read) return 0; - return s->chr_can_read(s->handler_opaque); + res = s->chr_can_read(s->handler_opaque); + assert(res >= 0); + return res; } void qemu_chr_be_write(CharDriverState *s, uint8_t *buf, int len)
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