On Mon, Jul 16, 2018 at 7:47 PM Daniel P. Berrange
wrote:
> On Mon, Jul 16, 2018 at 06:41:46PM +0100, Mike Krinkin wrote:
> > The value argument can be NULL, for example, in hw/i386/multiboot.c
> > in the load_multiboot function get_opt_value is explicitly called
> > wi
hange fixes the
problem by adding a check whether the value is NULL or not.
Signed-off-by: Mike Krinkin
---
util/qemu-option.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/util/qemu-option.c b/util/qemu-option.c
index 19761e3eaf..834217fc75 100644
--- a/util/qemu-option.c