smb3: Incorrect size for netname negotiate context
authorSteve French <stfrench@microsoft.com>
Mon, 5 Aug 2019 22:07:26 +0000 (17:07 -0500)
committerSteve French <stfrench@microsoft.com>
Mon, 16 Sep 2019 16:43:37 +0000 (11:43 -0500)
commitdf58fae72428be113f041fe55c9605a9088bfb14
treeafdb5dcecf5ea77ab71c5217954b6d46336a436e
parent2617474bfa33ab6c47c515e57dfbe754f8970640
smb3: Incorrect size for netname negotiate context

It is not null terminated (length was off by two).

Also see similar change to Samba:

https://gitlab.com/samba-team/samba/merge_requests/666

Reported-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2pdu.c