Re: [Qemu-devel] [PATCH v2] migration: don't use uninitialized variables

2013-07-30 Thread Luiz Capitulino
On Tue, 30 Jul 2013 08:39:52 +0900 Pawit Pornkitprasan wrote: > The qmp_migrate method uses the 'blk' and 'inc' parameter without > checking if they're valid or not (they may be uninitialized if > command is received via QMP) > > Signed-off-by: Pawit Pornkitprasan Applied to the qmp branch, th

Re: [Qemu-devel] [PATCH v2] migration: don't use uninitialized variables

2013-07-30 Thread Eric Blake
On 07/29/2013 05:39 PM, Pawit Pornkitprasan wrote: > The qmp_migrate method uses the 'blk' and 'inc' parameter without > checking if they're valid or not (they may be uninitialized if > command is received via QMP) > > Signed-off-by: Pawit Pornkitprasan > --- > migration.c |4 ++-- > 1 files

[Qemu-devel] [PATCH v2] migration: don't use uninitialized variables

2013-07-29 Thread Pawit Pornkitprasan
The qmp_migrate method uses the 'blk' and 'inc' parameter without checking if they're valid or not (they may be uninitialized if command is received via QMP) Signed-off-by: Pawit Pornkitprasan --- migration.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/migration.c