[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-stable] [Qemu-devel] [PATCH] migrate: Fix bounds check for mig
From: |
Eric Blake |
Subject: |
Re: [Qemu-stable] [Qemu-devel] [PATCH] migrate: Fix bounds check for migration parameters in migration.c |
Date: |
Fri, 9 Sep 2016 15:14:30 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 |
On 09/09/2016 02:14 PM, Ashijeet Acharya wrote:
> This patch fixes the out-of-bounds check migration parameters in
> qmp_migrate_set_parameters() for cpu-throttle-initial and
> cpu-throttle-increment by adding a return statement for both.
> Due to the missing return statements, parmaters were getting set to
s/parmaters/parameters/
> out-of-bounds values despite the error.
>
> Signed-off-by: Ashijeet Acharya <address@hidden>
> ---
> migration/migration.c | 2 ++
> 1 file changed, 2 insertions(+)
Broken since their introduction in 2.5 via commit 1626fee.
Reviewed-by: Eric Blake <address@hidden>
Probably worth backporting to stable branches.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-stable] [Qemu-devel] [PATCH] migrate: Fix bounds check for migration parameters in migration.c,
Eric Blake <=