CVE-2017-2619: s3: smbd: Move the reference counting and destructor setup to just...
commit16de60625cdc678c5d14020a6557cbac3d3bf13d
authorJeremy Allison <jra@samba.org>
Mon, 19 Dec 2016 20:32:07 +0000 (19 12:32 -0800)
committerKarolin Seeger <kseeger@samba.org>
Wed, 22 Mar 2017 09:48:41 +0000 (22 10:48 +0100)
tree650f51bb7c2306f414a02207a5184340743074ea
parente558347120df675fcf65bd9ddba706405d8af3e9
CVE-2017-2619: s3: smbd: Move the reference counting and destructor setup to just before retuning success.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/smbd/dir.c