mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Fix Coverity ID 703870 Uninitialized scalar variable
According to man 2 recvmsg this might be unnecessary, but it does not hurt either Signed-off-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
386be83cbd
commit
2e77833641
@ -145,6 +145,7 @@ static ssize_t read_fd(int fd, void *ptr, size_t nbytes, int *recvfd)
|
|||||||
|
|
||||||
msg.msg_name = NULL;
|
msg.msg_name = NULL;
|
||||||
msg.msg_namelen = 0;
|
msg.msg_namelen = 0;
|
||||||
|
msg.msg_flags = 0;
|
||||||
|
|
||||||
iov[0].iov_base = (void *)ptr;
|
iov[0].iov_base = (void *)ptr;
|
||||||
iov[0].iov_len = nbytes;
|
iov[0].iov_len = nbytes;
|
||||||
|
Loading…
Reference in New Issue
Block a user