Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8263db0c authored by Anastasia Belova's avatar Anastasia Belova Committed by Greg Kroah-Hartman
Browse files

cifs: spnego: add ';' in HOST_KEY_LEN



[ Upstream commit ff31ba19d732efb9aca3633935d71085e68d5076 ]

"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: default avatarPaulo Alcantara (SUSE) <pc@manguebit.com>
Fixes: 7c9c3760 ("[CIFS] add constants for string lengths of keynames in SPNEGO upcall string")
Signed-off-by: default avatarAnastasia Belova <abelova@astralinux.ru>
Co-developed-by: default avatarEkaterina Esina <eesina@astralinux.ru>
Signed-off-by: default avatarEkaterina Esina <eesina@astralinux.ru>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5df0c8e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment