git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
386be83
)
s3: Fix Coverity ID 703870 Uninitialized scalar variable
author
Volker Lendecke
<vl@samba.org>
Mon, 11 Jun 2012 09:16:12 +0000
(11:16 +0200)
committer
Jeremy Allison
<jra@samba.org>
Mon, 11 Jun 2012 21:54:38 +0000
(14:54 -0700)
According to man 2 recvmsg this might be unnecessary, but it does
not hurt either
Signed-off-by: Jeremy Allison <jra@samba.org>
source3/modules/vfs_aio_fork.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_aio_fork.c
b/source3/modules/vfs_aio_fork.c
index cc13a9bd1cd7cee5d0f7015d337fcdf1b6b187e4..4be21f7d97f539f48548418c5f5892fe72b0495f 100644
(file)
--- a/
source3/modules/vfs_aio_fork.c
+++ b/
source3/modules/vfs_aio_fork.c
@@
-145,6
+145,7
@@
static ssize_t read_fd(int fd, void *ptr, size_t nbytes, int *recvfd)
msg.msg_name = NULL;
msg.msg_namelen = 0;
+ msg.msg_flags = 0;
iov[0].iov_base = (void *)ptr;
iov[0].iov_len = nbytes;