git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ab6082
)
share conflict invalid pid...
author
Stefan Metzmacher
<metze@samba.org>
Mon, 13 Feb 2012 14:34:10 +0000
(15:34 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:41:40 +0000
(18:41 +0200)
source3/smbd/open.c
patch
|
blob
|
history
diff --git
a/source3/smbd/open.c
b/source3/smbd/open.c
index da34af2919b966939638956ab3f7dbc3fc9a30ab..0d46650b89565804d8cfda478e39ef66ad106ab7 100644
(file)
--- a/
source3/smbd/open.c
+++ b/
source3/smbd/open.c
@@
-821,6
+821,10
@@
static bool share_conflict(struct share_mode_entry *entry,
(unsigned int)entry->share_access,
(unsigned int)entry->private_options));
+ if (entry->pid.pid == UINT64_MAX) {
+ return false;
+ }
+
DEBUG(10,("share_conflict: access_mask = 0x%x, share_access = 0x%x\n",
(unsigned int)access_mask, (unsigned int)share_access));