git.samba.org
/
ddiss
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b15de2
)
s3:vfs: Initialize pid to 0 in test_netatalk_lock()
author
Andreas Schneider
<asn@samba.org>
Wed, 30 Jan 2019 17:09:52 +0000
(18:09 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 21 Feb 2019 11:31:46 +0000
(12:31 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13770
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
2ff2594b2bd878928cec30bc72a95a6d38bee154
)
source3/modules/vfs_fruit.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_fruit.c
b/source3/modules/vfs_fruit.c
index 1a237676981b6738bea062f484bd4ba2b0e05d7e..23e450a15ea54b4806ecca7c32ab71b31fd63797 100644
(file)
--- a/
source3/modules/vfs_fruit.c
+++ b/
source3/modules/vfs_fruit.c
@@
-2647,7
+2647,7
@@
static bool test_netatalk_lock(files_struct *fsp, off_t in_offset)
off_t offset = in_offset;
off_t len = 1;
int type = F_WRLCK;
- pid_t pid;
+ pid_t pid
= 0
;
result = SMB_VFS_GETLOCK(fsp, &offset, &len, &type, &pid);
if (result == false) {