NetBSD/external/bsd
lukem 305799b10f libarchive: fail if name_max is 0
Add error handling to the USE_READDIR_R code paths that set name_max
from struct statfs or statvfs; if the determined name_max == 0
then return an error.

Avoids a crash in tree_dir_next_posix() when the calculation of
dirent_size from name_max is too small for the memory allocated
for struct dirent.

Submitted to upstream in pull request
	https://github.com/libarchive/libarchive/pull/1903

Should fix PR bin/56080
2023-06-10 12:46:32 +00:00
..
acpica new file 2022-12-10 17:41:05 +00:00
am-utils bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
atf adapt to ${CC_WNO_MAYBE_UNINITIALIZED} 2023-06-03 21:31:45 +00:00
bc Literal backslashes need to be quoted for roff. 2022-05-26 08:06:58 +00:00
blocklist Allow configuration of addresses without a mask/prefix (Jose Luis Duran) 2022-11-18 16:01:00 +00:00
byacc byacc: fix line number information for code coverage 2021-10-05 22:15:32 +00:00
bzip2 bzip2: fix lint warning about wrong usage of ctype.h functions 2021-08-27 17:31:48 +00:00
compiler_rt adapt to ${CC_WNO_STRINGOP_OVERFLOW} 2023-06-03 21:33:01 +00:00
cron explain CRON_WITHIN better. 2022-02-26 17:02:47 +00:00
dhcpcd dhcpcd: Fix non INET6 builds. 2023-04-27 13:21:59 +00:00
ekermit properly size a buffer to include the trailing nul. 2021-04-12 08:55:22 +00:00
elftoolchain Merge from upstream [r3984]: allow the use of the generated 2022-05-08 17:28:14 +00:00
elftosb
fetch bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
file adapt to ${CC_WNO_MAYBE_UNINITIALIZED} 2023-06-03 21:31:45 +00:00
flex bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
ipf adapt to ${CC_WNO_MAYBE_UNINITIALIZED} 2023-06-03 21:31:45 +00:00
iscsi bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
jemalloc jemalloc: suppress two irrelevant lint warnings 2021-08-15 12:41:40 +00:00
kyua-atf-compat
kyua-cli Revert addition of pthread dependency on sqlite. 2020-11-12 17:53:43 +00:00
kyua-testers
less
libarchive libarchive: fail if name_max is 0 2023-06-10 12:46:32 +00:00
libbind/dist Support aarch64eb in */config.guess. 2020-11-17 10:35:10 +00:00
libc++ Remove old version of libc++, migrated to external/apache2/dist/libcxx 2021-05-30 03:26:33 +00:00
libevent adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
libfido2 libfido2: Needs -Wno-error=pointer-sign on arm. 2023-05-13 13:04:03 +00:00
liblzf
libnv Move common parts into a makefile fragment usable from elsewhere. 2019-08-27 14:53:38 +00:00
libpcap adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
libproc Switch proc_getlwpstatus from PT_LWPINFO to PT_GET_SIGINFO for NetBSD 2019-12-07 19:38:29 +00:00
librtld_db
libuuid_ul/lib/libuuid_ul remove clause 3 from all my licenses that aren't conflicting with 2021-12-11 19:24:18 +00:00
lutok lutok: auto_ptr replaced; remove build workaround 2020-07-02 13:56:10 +00:00
mdocml bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
nsd Handle OpenSSL-3.x 2023-05-12 02:26:48 +00:00
ntp adapt to ${CC_WNO_MAYBE_UNINITIALIZED} 2023-06-03 21:31:45 +00:00
nvi search.c: correctly handle escaped backslashes 2023-02-13 23:08:43 +00:00
openldap adapt to ${CC_WNO_STRINGOP_OVERFLOW} 2023-06-03 21:33:01 +00:00
openpam use const for strchr assignment. 2021-08-11 09:11:04 +00:00
openresolv Sync with openresolv-3.12.0 2020-12-27 18:26:50 +00:00
pam-u2f Handle OpenSSL-3.x 2023-05-09 20:55:39 +00:00
pcc Support aarch64eb in */config.guess. 2020-11-17 10:35:10 +00:00
pdisk adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
pkg_install adapt to ${CC_WNO_IMPLICIT_FALLTHROUGH} 2023-06-03 21:30:20 +00:00
ppp bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
sljit
tcpdump adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER} 2023-06-03 21:26:27 +00:00
tmux bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
top bsd.own.mk: rename GCC_NO_* to CC_WNO_* 2023-06-03 09:09:01 +00:00
tradcpp Attach tradcpp to the build. 2022-08-27 21:53:38 +00:00
tre mmap MAP_FAILED audit. 2020-08-20 15:54:11 +00:00
unbound Set PID path back to "/var/run/unbound.pid" so rc scripts work again. 2023-05-23 20:07:21 +00:00
wpa bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER 2023-06-03 08:52:53 +00:00
Makefile Attach tradcpp to the build. 2022-08-27 21:53:38 +00:00