summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorbaixiangcpp <baixiangcpp@gmail.com>2023-02-10 11:01:47 +0800
committerJule Anger <janger@samba.org>2023-02-24 09:50:59 +0000
commitb829940535215f0608bc927829544cfa8a80e934 (patch)
tree91e24085182e3a0756e1ee0aebede5a2fc5bdcc2 /testdata
parent6191dbda1932d8eab59a593ce5ef979143ce3a46 (diff)
downloadsamba-b829940535215f0608bc927829544cfa8a80e934.tar.gz
lib:util: File descriptor being closed repeatedly.
In file_load()/file_lines_load(), the file's fd is obtained using open(), and in fd_load() the fd is converted to a FILE* using fdopen(). However, after fclose(), the fd is closed again using close(). Bug: https://bugzilla.samba.org/show_bug.cgi?id=15311 Signed-off-by: baixiangcpp baixiangcpp@gmail.com Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Feb 16 12:13:05 UTC 2023 on atb-devel-224 (cherry picked from commit 206dcf7d426e9e85c896c54839008e194d9a2824) Autobuild-User(v4-18-test): Jule Anger <janger@samba.org> Autobuild-Date(v4-18-test): Fri Feb 24 09:50:59 UTC 2023 on atb-devel-224
Diffstat (limited to 'testdata')
0 files changed, 0 insertions, 0 deletions