socket_wrapper.c: make FIONREAD handling more robust in swrap_vioctl()
authorStefan Metzmacher <metze@samba.org>
Mon, 8 Jun 2020 12:18:44 +0000 (14:18 +0200)
committerStefan Metzmacher <metze@samba.org>
Mon, 22 Jun 2020 14:45:42 +0000 (16:45 +0200)
We should only dereference the va args when the kernel already checked
they are valid.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit c95b7cb1d7b9348472276edceff71889aa676d25)


No differences found