diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-09-24 09:17:30 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-10-06 00:23:00 -0500 |
commit | 363999901116ffa9a5462215fef25ea9c7f2823c (patch) | |
tree | 455be8212ffe20e9c6b7cac6de637e091feced15 /certs | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) |
ksmbd: add the check to vaildate if stream protocol length exceeds maximum value
This patch add MAX_STREAM_PROT_LEN macro and check if stream protocol
length exceeds maximum value. opencode pdu size check in
ksmbd_pdu_size_has_room().
Cc: Tom Talpey <tom@talpey.com>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Ralph Böhme <slow@samba.org>
Acked-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions