On Wed, Mar 28, 2018 at 09:34:35PM +0800, linzhecheng wrote: > Check device having the feature of VIRTIO_CONSOLE_F_EMERG_WRITE before > get config->emerg_wr. It is neccessary because sizeof(virtio_console_config) > is 8 byte if VirtIOSerial doesn't have the feature of > VIRTIO_CONSOLE_F_EMERG_WRITE(see virtio_serial_device_realize), > read/write emerg_wr will lead to heap-over-flow. > > Signed-off-by: linzhecheng <[email protected]>
Michael or Paolo: Please merge for QEMU 2.12 Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
