diff options
| author | Thomas Huth | 2016-11-10 21:16:01 +0100 |
|---|---|---|
| committer | David Gibson | 2016-11-15 00:08:43 +0100 |
| commit | 7bacfd7f7289192c83330adceef9c38649c9acf9 (patch) | |
| tree | e6ab0ca4f062374a9f2d2b1698cb1e59678ee30c /page_cache.c | |
| parent | FU exceptions should carry a cause (IC) (diff) | |
| download | qemu-7bacfd7f7289192c83330adceef9c38649c9acf9.tar.gz qemu-7bacfd7f7289192c83330adceef9c38649c9acf9.tar.xz qemu-7bacfd7f7289192c83330adceef9c38649c9acf9.zip | |
spapr-vty: Fix bad assert() statement
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 simply drop characters
that they can not handle, so I think we should also do the same in
spapr-vty to fix this issue.
Buglink: https://bugs.launchpad.net/qemu/+bug/1639322
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'page_cache.c')
0 files changed, 0 insertions, 0 deletions
