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

2016-11-11 Thread Paolo Bonzini
- Original Message - > From: "Thomas Huth" > To: "David Gibson" > Cc: qemu-...@nongnu.org, "Alexander Graf" , > qemu-devel@nongnu.org, pbonz...@redhat.com, "Gerd > Hoffmann" > Sent: Friday, November 11,

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

2016-11-11 Thread Thomas Huth
On 11.11.2016 00:01, David Gibson wrote: > On Thu, Nov 10, 2016 at 10:06:37AM +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

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

2016-11-10 Thread David Gibson
On Thu, Nov 10, 2016 at 10:06:37AM +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

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

2016-11-10 Thread Paolo Bonzini
On 10/11/2016 10:06, 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 into the QEMU

[Qemu-devel] [PATCH] 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