Re: [Qemu-devel] [PATCH v2 for-2.8] spapr-vty: Fix bad assert() statement

2016-11-10 Thread David Gibson
On Thu, Nov 10, 2016 at 09:16:01PM +0100, Thomas Huth wrote: > When using the serial console in the GTK interface of QEMU (and > QEMU has been compiled with CONFIG_VTE), it is possible to trigger > the assert() statement in vty_receive() in spapr_vty.c by pasting > a chunk of text with length > 16

[Qemu-devel] [PATCH v2 for-2.8] spapr-vty: Fix bad assert() statement

2016-11-10 Thread Thomas Huth
When using the serial console in the GTK interface of QEMU (and QEMU has been compiled with CONFIG_VTE), it is possible to trigger the assert() statement in vty_receive() in spapr_vty.c by pasting a chunk of text with length > 16 into the QEMU window. Most of the other serial backends seem to simpl