cifsd: add the check to prevent potential overflow with smb_strtoUTF16() and UNICODE_...
authorNamjae Jeon <namjae.jeon@samsung.com>
Wed, 26 May 2021 07:37:05 +0000 (16:37 +0900)
committerNamjae Jeon <namjae.jeon@samsung.com>
Wed, 26 May 2021 09:13:21 +0000 (18:13 +0900)
commita2d0b5034a5fff029ec1be08d3264f8407d47602
tree38ae40bc7f3680ef4e0364c49e5c1cf61ce52aa5
parent70478059762688d9a975477cf6903cc170901c4c
cifsd: add the check to prevent potential overflow with smb_strtoUTF16() and UNICODE_LEN()

Add the check to prevent potential overflow with smb_strtoUTF16() and
UNICODE_LEN().

Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifsd/auth.c