Displaying 4 results from an estimated 4 matches for "vfs_file_id_from_sbuf".
2016 Mar 09
0
mkdir-dup test flapping
...to refuse
> the open(), or if we should just continue.
>
> On the basis that the owner change is not significant, we reworked the
> code to do the lstat() after the fstat(), and not compare the owner.
Fix is really close, but still needs a little work -
the call to:
fsp->file_id = vfs_file_id_from_sbuf(conn, &smb_dname->st);
needs to be moved too (as in the race condition
when need_lstat is true smb_dname->st isn't correctly
initialized yet), or the lstat needs to be done both
before and after. Doing the lstat twice might be
safer as I'll need to check what uses fsp->file_id...
2020 May 05
0
[Announce] Samba 4.11.9 Available for Download
...14242: nmblib: Avoid undefined behaviour in handle_name_ptrs().
o Bj?rn Baumbach <bb at sernet.de>
* BUG 14296: 'samba-tool group' commands do not handle group names with
special chars correctly.
o Ralph Boehme <slow at samba.org>
* BUG 14237: smbd: avoid calling vfs_file_id_from_sbuf() if statinfo is not
valid.
* BUG 14293: Missing check for DMAPI offline status in async DOS attributes.
* BUG 14307: smbd: Ignore set NTACL requests which contain S-1-5-88 NFS ACEs.
* BUG 14316: vfs_recycle: Prevent flooding the log if we're called on
non-existant paths....
2020 May 05
0
[Announce] Samba 4.11.9 Available for Download
...14242: nmblib: Avoid undefined behaviour in handle_name_ptrs().
o Bj?rn Baumbach <bb at sernet.de>
* BUG 14296: 'samba-tool group' commands do not handle group names with
special chars correctly.
o Ralph Boehme <slow at samba.org>
* BUG 14237: smbd: avoid calling vfs_file_id_from_sbuf() if statinfo is not
valid.
* BUG 14293: Missing check for DMAPI offline status in async DOS attributes.
* BUG 14307: smbd: Ignore set NTACL requests which contain S-1-5-88 NFS ACEs.
* BUG 14316: vfs_recycle: Prevent flooding the log if we're called on
non-existant paths....
2016 Mar 09
4
mkdir-dup test flapping
We looked at this some more, and Andrew seemed to understand and wrote
the attached patch.
>
> We got the logs by forcing smbd to run with -d10 by patching
> file_server/fileserver.c.
The issue appears to be in this call:
3638 /* Ensure there was no race condition. */
3639 if (!check_same_stat(&smb_dname->st, &fsp->fsp_name->st)) {
3640