[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] migration: fix bad string passed to error_repor
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [PATCH] migration: fix bad string passed to error_report() |
Date: |
Thu, 4 Feb 2016 15:30:11 +0530 |
On (Thu) 04 Feb 2016 [10:20:07], Greg Kurz wrote:
> state->name does not contain a terminating '\0' and you may get:
>
> Machine type received is 'pseries-2.3y�?' and local is 'pseries-2.4'
> load of migration failed: Invalid argument
>
> Let's add a precision modifier to fix this.
>
> Signed-off-by: Greg Kurz <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Amit