]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Use closefrom() or close_range() when possible
authorFrançois Degros <fdegros@chromium.org>
Tue, 29 Jul 2025 05:18:28 +0000 (15:18 +1000)
committerFrançois Degros <fdegros@chromium.org>
Thu, 31 Jul 2025 05:03:22 +0000 (15:03 +1000)
commit64bcf69ef8c266fa78c26c09fa88e7356ee20098
tree484a07a01cd189044b64f15ec98e3d9167ac4952
parent6062470cbcf5ff76535b6f161ce9cc9f4c6f56c0
Use closefrom() or close_range() when possible

To avoid leaking file descriptors into subprocesses.

Fixes: https://github.com/libarchive/libarchive/issues/2520
CMakeLists.txt
build/cmake/config.h.in
configure.ac
contrib/android/config/android.h
contrib/android/config/linux_host.h
contrib/android/config/windows_host.h
libarchive/filter_fork_posix.c