Re: [Qemu-devel] [PATCH v2] Fix linux-user crashes in ioctl(SIOCGIFCONF) when ifc_buf is NULL.

2019-01-18 Thread Laurent Vivier
On 18/01/2019 18:09, Peter Maydell wrote: On Wed, 24 Oct 2018 at 22:05, Laurent Vivier wrote: 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

Re: [Qemu-devel] [PATCH v2] Fix linux-user crashes in ioctl(SIOCGIFCONF) when ifc_buf is NULL.

2019-01-18 Thread Peter Maydell
On Wed, 24 Oct 2018 at 22:05, Laurent Vivier wrote: > > 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. > > > >

Re: [Qemu-devel] [PATCH v2] Fix linux-user crashes in ioctl(SIOCGIFCONF) when ifc_buf is NULL.

2018-10-24 Thread Laurent Vivier
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 > --- > linux-user/syscall.c | 55 >

[Qemu-devel] [PATCH v2] Fix linux-user crashes in ioctl(SIOCGIFCONF) when ifc_buf is NULL.

2018-10-24 Thread Kan Li
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 --- linux-user/syscall.c | 55 1 file