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)
committerRalph Boehme <slow@samba.org>
Fri, 23 Feb 2018 21:56:35 +0000 (22:56 +0100)
commit5ad5e7966f555b1d2b39d276646934a2cd2535e6
tree5e267efeae7433965a5e3198c1841b90c5cc175f
parent06601b3a9293db35feda1b033fa864dc1a764164
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
source3/smbd/smb2_query_directory.c