[PATCH 4.14 18/30] smb3: Fix out-of-bounds bug in SMB2_negotiate()