s3: smbd: Fix possible directory fd leak if the underlying OS doesn't support fdopendir()
authorJeremy Allison <jra@samba.org>
Wed, 14 Feb 2018 21:23:12 +0000 (13:23 -0800)
committerKarolin Seeger <kseeger@samba.org>
Fri, 6 Apr 2018 06:21:12 +0000 (08:21 +0200)
commit678555091a5d6de1f0a32a2dd5e9ced2a9cf1b30
tree22628ab02c4fddfadb57d2fd5a1dd395ca4a1123
parenta02a98af8b20b8860252cbde372ef8f6a3b286f4
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