bug in open_file_shared1? (samba-3.0alpha24)

Nadav Danieli nadavd at exanet.com
Mon Jul 7 19:55:21 GMT 2003


At line 1027 in open.c open_mode_check is called with both dev and inode
set to zero.
That means, that 2 processes that try to open the same file at the same
time, might do it even if their share modes conflict.
The share entry is locked, and set correctly with the fsp, but the modes
they will read are wrong (probably none ever.)

Please correct me if I'm wrong.


Nadav




More information about the samba-technical mailing list