[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] Fix linux-user crashes in ioctl(SIOCGIFCONF)
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH v2] Fix linux-user crashes in ioctl(SIOCGIFCONF) when ifc_buf is NULL. |
Date: |
Wed, 24 Oct 2018 22:03:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
On 24/10/2018 21:13, Kan Li wrote:
> Summary:
> This is to fix bug https://bugs.launchpad.net/qemu/+bug/1796754.
> It is valid for ifc_buf to be NULL according to
> http://man7.org/linux/man-pages/man7/netdevice.7.html.
>
> Signed-off-by: Kan Li <address@hidden>
> ---
> linux-user/syscall.c | 55
> ++++++++++++++++++++++++++++------------------------
> 1 file changed, 30 insertions(+), 25 deletions(-)
>
Reviewed-by: Laurent Vivier <address@hidden>