s3: smbd: Fix possible directory fd leak if the underlying OS doesn't support fdopendir()
commit6d4906c0b0c153c649f9e6e62c470cd98e1bf024
authorJeremy Allison <jra@samba.org>
Wed, 14 Feb 2018 21:23:12 +0000 (14 13:23 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 22 Mar 2018 21:03:26 +0000 (22 22:03 +0100)
tree348354c7391eca62571f06bc98376c7df96defd8
parent520672e685c8fc742b63ae2157e645b0362c34a8
s3: smbd: Fix possible directory fd leak if the underlying OS doesn't support fdopendir()

HPUX has this problem.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Feb 23 22:56:35 CET 2018 on sn-devel-144

(cherry picked from commit 5ad5e7966f555b1d2b39d276646934a2cd2535e6)
source3/smbd/smb2_query_directory.c