qemu-e2k/backends
Lin Ma 71200fb966 qemu-char: avoid segfault if user lacks of permisson of a given logfile
Function qemu_chr_alloc returns NULL if it failed to open logfile by any reason,
says no write permission. For backends tty, stdio and msmouse, They need to
check this return value to avoid segfault in this case.

Signed-off-by: Lin Ma <lma@suse.com>
Cc: qemu-stable <qemu-stable@nongnu.org>
Message-Id: <20160914062250.22226-1-lma@suse.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-09-14 22:52:43 +02:00
..
baum.c
hostmem-file.c
hostmem-ram.c
hostmem.c
Makefile.objs
msmouse.c qemu-char: avoid segfault if user lacks of permisson of a given logfile 2016-09-14 22:52:43 +02:00
rng-egd.c hw: replace most use of qemu_chr_fe_write with qemu_chr_fe_write_all 2016-09-13 19:09:42 +02:00
rng-random.c
rng.c
testdev.c
tpm.c