]> Git Repo - qemu.git/commit - util/qemu-option.c
qemu-option: Fix qemu_opts_find() for null id arguments
authorMarkus Armbruster <[email protected]>
Thu, 4 Jul 2013 13:09:17 +0000 (15:09 +0200)
committerAnthony Liguori <[email protected]>
Tue, 9 Jul 2013 18:38:56 +0000 (13:38 -0500)
commit96bc97ebf350ec480b69082819cedb8850f46a0f
treead28c35f205d8eb1d85b021664a4711ccc0889cd
parent154bb106dc195b4fbb76df0452ab6e3e24e80d72
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 <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Message-id: 1372943363[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
util/qemu-option.c
This page took 0.022054 seconds and 4 git commands to generate.