qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 4/5] migration/rdma: Safely convert control type


From: Peter Xu
Subject: Re: [Qemu-devel] [PATCH 4/5] migration/rdma: Safely convert control types
Date: Wed, 12 Jul 2017 11:24:41 +0800
User-agent: Mutt/1.5.24 (2015-08-30)

On Tue, Jul 04, 2017 at 07:49:14PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
> 
> control_desc[] is an array of strings that correspond to a
> series of message types; they're used only for error messages, but if
> the message type is seriously broken then we could go off the end of
> the array.
> 
> Convert the array to a function control_desc() that bound checks.
> 
> Signed-off-by: Dr. David Alan Gilbert <address@hidden>

Reviewed-by: Peter Xu <address@hidden>

-- 
Peter Xu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]