cifs: spnego: add ';' in HOST_KEY_LEN
authorAnastasia Belova <abelova@astralinux.ru>
Mon, 13 Nov 2023 14:52:32 +0000 (17:52 +0300)
committerSteve French <stfrench@microsoft.com>
Mon, 13 Nov 2023 22:21:34 +0000 (16:21 -0600)
commitff31ba19d732efb9aca3633935d71085e68d5076
tree44c5431f38bc154e1489aabc4c6a96c1afba14f4
parentb85ea95d086471afb4ad062012a4d73cd328fa86
cifs: spnego: add ';' in HOST_KEY_LEN

"host=" should start with ';' (as in cifs_get_spnego_key)
So its length should be 6.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Fixes: 7c9c3760b3a5 ("[CIFS] add constants for string lengths of keynames in SPNEGO upcall string")
Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Co-developed-by: Ekaterina Esina <eesina@astralinux.ru>
Signed-off-by: Ekaterina Esina <eesina@astralinux.ru>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifs_spnego.c