mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
Any garbage at the end needs to be ignored. This fixes the Negotiate_SMB311_ContextID_NetName test from: https://github.com/microsoft/WindowsProtocolTestSuites/blob/main/TestSuites/FileServer/src/SMB2/TestSuite/Negotiate/Negotiation.cs#L730 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 12 21:25:21 UTC 2021 on sn-devel-184