opnsense-src/sys/fs/udf
Dag-Erling Smørgrav 55f80afa17 udf: Improve input validation.
The existing code frequently assigns unsigned 64-bit values to variables
that are signed and / or shorter without checking for overflow.  Try to
deal with these cases.

While here, fix two structs that used single-element arrays in place of
flexible array members.

PR:		287896
MFC after:	1 week
Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D51339
2025-07-16 21:33:41 +02:00
..
ecma167-udf.h udf: Improve input validation. 2025-07-16 21:33:41 +02:00
osta.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
osta.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
udf.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
udf_iconv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
udf_mount.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
udf_vfsops.c udf: Improve input validation. 2025-07-16 21:33:41 +02:00
udf_vnops.c udf: Improve input validation. 2025-07-16 21:33:41 +02:00