diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-02-10 10:45:11 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2021-02-10 10:50:17 +0100 |
commit | d610c8d5b32db5c3cc6e57b11d1d2e1505975832 (patch) | |
tree | 2252f5e559b0dde33a7c4d83518cec3fbfdea5de /example | |
parent | db594f106d9737e0415a268439fc9003bb636473 (diff) | |
download | socket_wrapper-d610c8d5b32db5c3cc6e57b11d1d2e1505975832.tar.gz socket_wrapper-d610c8d5b32db5c3cc6e57b11d1d2e1505975832.tar.xz socket_wrapper-d610c8d5b32db5c3cc6e57b11d1d2e1505975832.zip |
swrap: don't read the callers msg_control buffer in swrap_recvmsg_before_unix()
For recvmsg() msg_control is a write only buffer, that is filled by the
kernel, but the kernel won't read from that buffer. So we shouldn't
read from (copy) it either.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions