CVE-2015-5252: s3: smbd: Fix symlink verification (file access outside the share).
authorJeremy Allison <jra@samba.org>
Thu, 9 Jul 2015 17:58:11 +0000 (10:58 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 Dec 2015 09:23:28 +0000 (10:23 +0100)
commit4278ef25f64d5fdbf432ff1534e275416ec9561e
tree12ef3cdefb0774b7187d8a747847f3717b52ad11
parent5b730ab846a9d4ae44b425094af2934c2f7b2843
CVE-2015-5252: s3: smbd: Fix symlink verification (file access outside the share).

Ensure matching component ends in '/' or '\0'.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/vfs.c