1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00
Ralph Boehme 9544332084 smbd: fix has_other_nonposix_opens_fn()
Given two opens on a file:

1. Windows open with delete-on-close
2. POSIX open with delete-on-close set

When handle 1 is closed processing in has_other_nonposix_opens_fn() will not
delete the file as (fsp->posix_flags & FSP_POSIX_FLAGS_OPEN) is false, so
has_other_nonposix_opens() will return true which is wrong.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15517

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Nov 13 19:34:29 UTC 2023 on atb-devel-224
2023-11-13 19:34:29 +00:00
..
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-11-01 18:55:32 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2020-11-04 18:55:39 +00:00
2023-07-19 09:58:37 +00:00
2023-11-01 18:55:32 +00:00
2020-01-13 21:09:01 +00:00
2023-09-11 02:42:41 +00:00
2023-04-12 13:52:31 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2022-04-07 17:37:29 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-07-19 09:58:37 +00:00
2023-10-25 22:23:37 +00:00
2023-07-19 09:58:37 +00:00
2023-10-25 22:23:37 +00:00
2022-08-04 20:44:32 +00:00