diff options
author | Chih-Yen Chang <cc85nod@gmail.com> | 2023-05-06 00:03:54 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-05-16 10:26:14 -0500 |
commit | 443d61d1fa9faa60ef925513d83742902390100f (patch) | |
tree | 01b7aef0a5bf4155865d326da98b2afe0df936ac /fs/ksmbd/smbfsctl.h | |
parent | f0a96d1aafd8964e1f9955c830a3e5cb3c60a90f (diff) |
ksmbd: allocate one more byte for implied bcc[0]
ksmbd_smb2_check_message allows client to return one byte more, so we
need to allocate additional memory in ksmbd_conn_handler_loop to avoid
out-of-bound access.
Cc: stable@vger.kernel.org
Signed-off-by: Chih-Yen Chang <cc85nod@gmail.com>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/smbfsctl.h')
0 files changed, 0 insertions, 0 deletions