summary refs log tree commit diff stats
path: root/qemu-char.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2013-07-04 15:09:17 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-09 13:38:56 -0500
commit96bc97ebf350ec480b69082819cedb8850f46a0f (patch)
treead28c35f205d8eb1d85b021664a4711ccc0889cd /qemu-char.c
parent154bb106dc195b4fbb76df0452ab6e3e24e80d72 (diff)
downloadfocaccia-qemu-96bc97ebf350ec480b69082819cedb8850f46a0f.tar.gz
focaccia-qemu-96bc97ebf350ec480b69082819cedb8850f46a0f.zip
qemu-option: Fix qemu_opts_find() for null id arguments
Crashes when the first list member has an ID.  Admittedly nonsensical
reproducer:

$ qemu-system-x86_64 -nodefaults -machine id=foo -machine ""

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1372943363-24081-2-git-send-email-armbru@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-char.c')
0 files changed, 0 insertions, 0 deletions