opnsense-src/sys/fs/fuse
Alan Somers f93a50d69d fusefs: fix an uninitialized memory access in fuse_vnop_deallocate
If the FUSE_GETATTR issued to query a file's size during
fuse_vnop_deallocate failed for any reason, then fuse_vnop_deallocate
would attempt to destroy an uninitialized fuse_dispatcher struct, with a
crash the likely result.  This bug only affects FUSE file systems that
implement FUSE_FALLOCATE, and is unlikely to be seen on those that don't
disable attribute caching.

Reported by:	Coverity Scan
CID:		1505308
MFC after:	2 weeks
2024-09-08 15:50:40 -06:00
..
fuse.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_device.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fuse_file.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fuse_file.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_internal.c fusefs: Fix warning formatting 2024-08-27 20:29:05 +00:00
fuse_internal.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_io.c Add vnode_pager_clean_{a,}sync(9) 2024-01-11 18:44:53 +02:00
fuse_io.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_ipc.c fuse: Fix typo (triple S) 2023-12-27 20:24:32 -07: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: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
fuse_node.c Stop treating size 0 as unknown size in vnode_create_vobject(). 2024-05-23 06:08:14 +00:00
fuse_node.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
fuse_vfsops.c Stop treating size 0 as unknown size in vnode_create_vobject(). 2024-05-23 06:08:14 +00:00
fuse_vnops.c fusefs: fix an uninitialized memory access in fuse_vnop_deallocate 2024-09-08 15:50:40 -06:00