diff options
author | Kan Li | 2018-10-24 22:13:03 +0200 |
---|---|---|
committer | Laurent Vivier | 2019-02-07 14:04:03 +0100 |
commit | 22e4a267a6627e5b5b1b13bfc1b92445775704be (patch) | |
tree | a882fd91fe6dfb9ff61100348afbc70a3237b064 /linux-user/mips64 | |
parent | Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20190205'... (diff) | |
download | qemu-22e4a267a6627e5b5b1b13bfc1b92445775704be.tar.gz qemu-22e4a267a6627e5b5b1b13bfc1b92445775704be.tar.xz qemu-22e4a267a6627e5b5b1b13bfc1b92445775704be.zip |
Fix linux-user crashes in ioctl(SIOCGIFCONF) when ifc_buf is NULL.
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 <likan_999.student@sina.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Message-Id: <20181024201303.114-1-likan_999.student@sina.com>
[lv: fix errors reported by checkpatch.pl]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/mips64')
0 files changed, 0 insertions, 0 deletions