From: Linus Torvalds Date: Sat, 1 Jul 2023 04:53:33 +0000 (-0700) Subject: Merge tag '6.5-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd X-Git-Tag: v6.6.17~4496 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8976e9d0039574b2336044fa5e3adb717f3ba54b;p=platform%2Fkernel%2Flinux-rpi.git Merge tag '6.5-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd Pull ksmbd server updates from Steve French: - two fixes for compounding bugs (make sure no out of bound reads with less common combinations of commands in the compound) - eight minor cleanup patches (e.g. simplifying return values, replace one element array, use of kzalloc where simpler) - fix for clang warning on possible overflow in filename conversion * tag '6.5-rc-ksmbd-server-fixes-part1' of git://git.samba.org/ksmbd: ksmbd: avoid field overflow warning ksmbd: Replace one-element array with flexible-array member ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect() ksmbd: add missing compound request handing in some commands ksmbd: fix out of bounds read in smb2_sess_setup ksmbd: Replace the ternary conditional operator with min() ksmbd: use kvzalloc instead of kvmalloc ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked() ksmbd: use kzalloc() instead of __GFP_ZERO ksmbd: remove unused ksmbd_tree_conn_share function --- 8976e9d0039574b2336044fa5e3adb717f3ba54b