[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] linux-user: don't swap NLMSG_DATA() fields
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] linux-user: don't swap NLMSG_DATA() fields |
Date: |
Thu, 16 Jun 2016 22:09:18 +0100 |
On 16 June 2016 at 20:01, Laurent Vivier <address@hidden> wrote:
> If the structure pointed by NLMSG_DATA() is bigger
> than the size of NLMSG_DATA(), don't swap its fields
> to avoid memory corruption.
>
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
Reviewed-by: Peter Maydell <address@hidden>
Can this actually happen in normal operation?
thanks
-- PMM