1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00
Ralph Boehme 77a71bc993 smbd: replace CHECK_WRITE() macro with calls to check_any_access_fsp()
The additional check if fd underlying fd is valid and not -1 should not be done
at this place. I actually would prefer an write to fail with EBADF if this
happens, as it's likely easier to debug why this happened. These days we should
always have a valid fd.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 995a31c8d4c1789c16bae6b8196f2565d4b1dfdb)
2024-01-16 09:09:15 +00:00
..
2022-10-27 18:18:36 +00:00
2020-01-06 01:47:30 +00:00
2017-04-07 22:52:24 +02:00
2020-10-02 21:30:33 +00:00
2020-10-24 05:57:31 +00:00
2021-03-16 17:09:31 +00:00
2020-03-20 17:11:28 +00:00
2019-02-28 13:53:40 +00:00
2017-12-05 04:58:26 +01:00
2023-01-04 08:54:32 +00:00
2020-08-17 19:35:38 +00:00
2022-03-10 18:23:35 +00:00
2017-03-16 20:30:19 +01:00
2023-01-10 00:28:37 +00:00
2022-12-14 22:54:29 +00:00