Page MenuHomeFreeBSD

udf: Improve input validation.
ClosedPublic

Authored by des on Jul 16 2025, 8:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 21, 5:14 PM
Unknown Object (File)
Sat, May 16, 10:37 PM
Unknown Object (File)
Apr 27 2026, 11:17 AM
Unknown Object (File)
Apr 21 2026, 4:12 AM
Unknown Object (File)
Apr 20 2026, 11:12 PM
Unknown Object (File)
Apr 20 2026, 7:50 PM
Unknown Object (File)
Apr 19 2026, 7:46 AM
Unknown Object (File)
Apr 19 2026, 2:48 AM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable