opnsense-src/sys/fs/fuse
Alan Somers 662ec2f781 fusefs: sanitize FUSE_READLINK results for embedded NULs
If VOP_READLINK returns a path that contains a NUL, it will trigger an
assertion in vfs_lookup.  Sanitize such paths in fusefs, rejecting any
and warning the user about the misbehaving server.

PR:		274268
MFC after:	1 week
Sponsored by:	Axcient
Reviewed by:	mjg, markj
Differential Revision: https://reviews.freebsd.org/D42081
2023-10-07 08:22:03 -06:00
..
fuse.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_device.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_file.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_file.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_internal.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_internal.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_io.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_io.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_ipc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_ipc.h fusefs: sanitize FUSE_READLINK results for embedded NULs 2023-10-07 08:22:03 -06:00
fuse_kernel.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_main.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_node.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_node.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_vfsops.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fuse_vnops.c fusefs: sanitize FUSE_READLINK results for embedded NULs 2023-10-07 08:22:03 -06:00