|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [PATCH v4 5/6] migration/rdma: Safely convert control types |
Date: | Mon, 17 Jul 2017 18:20:23 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
"Dr. David Alan Gilbert (git)" <address@hidden> 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> Reviewed-by: Juan Quintela <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |