diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-04-19 22:27:14 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-04-24 09:50:31 -0500 |
commit | ac3107340fbb9422ea63ee5d6729775965e121fd (patch) | |
tree | 7892379e64c660b15cb20e0557bfe21cb578ddb6 /Changelog | |
parent | 023d3d67c7dc6e7f492de5b2336194c500d1779d (diff) | |
download | qemu-ac3107340fbb9422ea63ee5d6729775965e121fd.zip qemu-ac3107340fbb9422ea63ee5d6729775965e121fd.tar.gz qemu-ac3107340fbb9422ea63ee5d6729775965e121fd.tar.bz2 |
qemu-char: Fix crash when switching consoles
qemu-system-arm (and other system emulations) crashes with SDL when
the user switches consoles (Alt-Ctrl-F4).
We already check for NULL pointers in qemu_chr_fe_ioctl,
qemu_chr_be_can_write and other functions, so do this also
for s->chr_read in qemu_chr_be_write. This fixes the crash.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Changelog')
0 files changed, 0 insertions, 0 deletions