diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-08-24 13:15:01 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:32 -0500 |
commit | 11f4803d002bf5a4bba24103d6c472ea638e196e (patch) | |
tree | c3516a362d4e07aa6c155483cab7009bb2d6d78e /source4/lib/data_blob.c | |
parent | ca71549d5af608a280645f69016749ae9da89747 (diff) | |
download | samba-11f4803d002bf5a4bba24103d6c472ea638e196e.tar.gz samba-11f4803d002bf5a4bba24103d6c472ea638e196e.tar.bz2 samba-11f4803d002bf5a4bba24103d6c472ea638e196e.zip |
r9584: Fix a race condition in Samba 3. If two files are opened simultaneously with
NTCREATEX_DISP_CREATE (create if not exists, else fail) they might end up with
two or more times NT_STATUS_OK as EEXIST is not correctly handled.
Jeremy, please look closely at this. You can easily verify this by adding a
smb_msleep(100) to the top of open_file_ntcreate and run the new samba4
torture test. It does also happen without the msleep, but not as reliably.
Thanks,
Volker
(This used to be commit c803d4c9a588e39a90ddfe900be9b9de1a861f82)
Diffstat (limited to 'source4/lib/data_blob.c')
0 files changed, 0 insertions, 0 deletions