]> Git Repo - qemu.git/commit
qemu-option: Fix uninitialized value in append_option_parameter
authorKevin Wolf <[email protected]>
Fri, 11 Jun 2010 08:19:41 +0000 (10:19 +0200)
committerAnthony Liguori <[email protected]>
Mon, 14 Jun 2010 16:12:53 +0000 (11:12 -0500)
commitbd69fe8448024258d046e2a15d4cf5c498188144
treee1357f8f5bade1e051e6c9bfceb2ed0f48ebaa85
parent271248886e6110b4af0545f6a2d3ef38217cd58f
qemu-option: Fix uninitialized value in append_option_parameter

When dest is NULL, i.e. a new copy of the list is created, we don't get a
properly terminated list after the realloc. Initialize it as an empty list.

Signed-off-by: Kevin Wolf <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
qemu-option.c
This page took 0.025202 seconds and 4 git commands to generate.