diff options
| author | Michael Adam <obnox@samba.org> | 2014-09-10 00:31:25 +0200 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-09-10 19:24:13 +0200 |
| commit | 8ae8c63da19459fd4f1166e11406da2c919b7ed0 (patch) | |
| tree | 73ef9c54cd6c9926f3e2523c9d7c57d610f1ab42 /python/samba/netcmd | |
| parent | 551ae16ab3be301ce5402e60f63f736960335d9f (diff) | |
s3:smbd: fix a race in open code
The race is when a file vanishes between
existence check and acl check.
In this case, open_file_ncreate() returns
OBJECT_NAME_NOT_FOUND even if the create
was called with disposition OPEN_IF.
But in this case, the file should be created.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python/samba/netcmd')
0 files changed, 0 insertions, 0 deletions
