1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00
freebsd/lib/libc
Mark Johnston 426682b05a bpf: Fix the write filter for detached descriptors
A BPF descriptor only has an associated interface descriptor once it is
attached to an interface, e.g., with BIOCSETIF.  Avoid dereferencing a
NULL pointer in filt_bpfwrite() if the BPF descriptor is not attached.

Reviewed by:	ae
Reported by:	syzbot+ae45d5166afe15a5a21d@syzkaller.appspotmail.com
Fixes:	ded77e0237 ("Allow the BPF to be select for write.")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32561
2021-10-26 10:00:39 -04:00
..
aarch64 libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
amd64 libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
arm libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
capability
compat-43
db tools/build: Don't redefine open() for the linux bootstrap 2021-08-02 14:33:23 +01:00
gdtoa
gen sysctl.3: sys/types.h no longer needs to be explicitly included 2021-10-19 21:22:57 -04:00
gmon
i386 libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
iconv
include Style 2021-08-03 21:19:32 +03:00
inet
isc
locale libc/locale: Fix races between localeconv(3) and setlocale(3) 2021-09-17 10:47:46 -04:00
md
mips libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
nameser
net Retire synchronous PPP kernel driver sppp(4). 2021-10-22 11:41:36 -07:00
nls Implement strerror_l(). 2020-12-16 09:02:09 +00:00
posix1e libc/posix1e: Add acl_extended_file_np() function. 2021-08-27 11:52:26 +03:00
powerpc libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
powerpc64 libc: add _get_tp() private function 2021-04-09 23:46:24 +03:00
powerpcspe [PowerPC] [PowerPCSPE] Fix multiple issues in fpsetmask(). 2021-02-28 21:11:29 -06:00
quad
regex libc: regex: rework unsafe pointer arithmetic 2021-01-08 13:58:35 -06:00
resolv
riscv riscv: Implement non-stub __vdso_gettc and __vdso_gettimekeep 2021-07-05 16:16:53 +01:00
rpc rpc(3): Correct a few common typos in source code comments 2021-08-22 08:16:09 +02:00
secure libc: ssp: sprinkle around some __dead2 2021-09-30 23:55:17 -05:00
softfloat libc: use standard LF line endings, not CRLF 2021-04-03 16:20:07 -04:00
stdio getdelim(3): Fix losing data on [EAGAIN] 2021-09-02 11:26:26 -07:00
stdlib Fix null pointer subtraction in mergesort() 2021-08-27 19:46:18 +02:00
stdtime tzcode: Implement timezone change detection 2021-09-12 03:07:58 +00:00
string memcpy.3: remove BUGS section allowing overlapping strings 2021-08-24 09:58:10 -04:00
sys bpf: Fix the write filter for detached descriptors 2021-10-26 10:00:39 -04:00
tests getdelim(3): Fix losing data on [EAGAIN] 2021-09-02 11:26:26 -07:00
uuid
x86 libc: vDSO timekeeping: Add pvclock support 2021-08-14 15:57:54 +03:00
xdr
yp
libc_nossp.ldscript
libc.ldscript
Makefile libc: Use the initial-exec TLS model 2021-07-15 22:41:10 -04:00
Makefile.depend
Makefile.depend.options
Versions.def Create namespace for the symbols added during 14-CURRENT cycle. 2021-07-15 19:40:28 +03:00