diff options
| author | Jeremy Allison <jra@samba.org> | 2014-06-24 14:19:30 -0700 |
|---|---|---|
| committer | David Disseldorp <ddiss@samba.org> | 2014-06-25 11:22:12 +0200 |
| commit | 31b3427a417217e5e869baafdf63e633efc39d12 (patch) | |
| tree | 1cc81fcb418a2de5c24b4d5358ceca8264e0c3f2 /python/examples | |
| parent | 457d79f2cb83f3f5c3f8d64ed99f9b1ea0185d3f (diff) | |
| download | samba-31b3427a417217e5e869baafdf63e633efc39d12.tar.gz samba-31b3427a417217e5e869baafdf63e633efc39d12.tar.xz samba-31b3427a417217e5e869baafdf63e633efc39d12.zip | |
s3: smbd - Prevent file truncation on an open that fails with share mode violation.
Fix from Volker, really - just tidied up a little.
The S_ISFIFO check may not be strictly neccessary,
but doesn't hurt (might make the code a bit more complex
than it needs to be).
Fixes bug #10671 - Samba file corruption as a result of failed lock check.
https://bugzilla.samba.org/show_bug.cgi?id=10671
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Diffstat (limited to 'python/examples')
0 files changed, 0 insertions, 0 deletions
