s3: libsmb: In SMB1 old protocol - return NT_STATUS_INVALID_NETWORK_RESPONSE if name...
commitcc105695a60f629928c971e98e15edb89fb58162
authorJeremy Allison <jra@samba.org>
Mon, 11 May 2020 19:34:10 +0000 (11 12:34 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Jun 2020 11:47:47 +0000 (4 11:47 +0000)
tree59f7a94169bee187b3ba3660a507e60f83b54d9b
parent290ae67b24eec2a50c937216b92e7294e1e08109
s3: libsmb: In SMB1 old protocol - return NT_STATUS_INVALID_NETWORK_RESPONSE if name conversion ended up with a NULL filename.

Can happen if namelen == 0.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14374

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit b10de0bb64fe022e6b066584013dfb0bdf2ade96)
source3/libsmb/clilist.c