libsmb: Ensure smbc_urlencode() can't overwrite passed in buffer.
authorJeremy Allison <jra@samba.org>
Fri, 15 Jun 2018 22:07:17 +0000 (15:07 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Aug 2018 11:57:16 +0000 (13:57 +0200)
commit860f575fa5987413b5d5efa9a218a4cc3bf2edb9
tree9e0c9a8b3cb11fd09138e4f72d4acd8f55df6a96
parent7070aa384bc0f8c9979d01d64dee097dc3ad2878
libsmb: Ensure smbc_urlencode() can't overwrite passed in buffer.

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

CVE-2018-10858: Insufficient input validation on client directory
listing in libsmbclient.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/libsmb_path.c