The branch, master has been updated via ffc59fe0946 smbd: Correct store_smb2_posix_info size check from 69273c3a836 docs-xml: ea support option restricted to user ns
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit ffc59fe094612ca2ed549a5a7c7bc7017401991c Author: David Mulder <dmul...@samba.org> Date: Fri Sep 9 08:14:44 2022 -0600 smbd: Correct store_smb2_posix_info size check Signed-off-by: David Mulder <dmul...@samba.org> Reviewed-by: Volker Lendecke <v...@samba.org> Autobuild-User(master): Volker Lendecke <v...@samba.org> Autobuild-Date(master): Fri Oct 28 13:43:59 UTC 2022 on sn-devel-184 ----------------------------------------------------------------------- Summary of changes: source3/smbd/smb2_posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changeset truncated at 500 lines: diff --git a/source3/smbd/smb2_posix.c b/source3/smbd/smb2_posix.c index 6f7f106726f..9dbe16be42e 100644 --- a/source3/smbd/smb2_posix.c +++ b/source3/smbd/smb2_posix.c @@ -111,7 +111,7 @@ ssize_t store_smb2_posix_info( return -1; } - if (cc_len + 68 < buflen) { + if (buflen < cc_len + 68) { return cc_len + 68; } -- Samba Shared Repository