Page MenuHomeFreeBSD

udf: Improve input validation.
ClosedPublic

Authored by des on Jul 16 2025, 8:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Feb 23, 6:20 PM
Unknown Object (File)
Mon, Feb 23, 6:20 PM
Unknown Object (File)
Sun, Feb 22, 4:42 PM
Unknown Object (File)
Sun, Feb 8, 12:13 PM
Unknown Object (File)
Sun, Feb 8, 11:38 AM
Unknown Object (File)
Tue, Feb 3, 4:14 AM
Unknown Object (File)
Jan 31 2026, 7:42 PM
Unknown Object (File)
Jan 31 2026, 1:37 PM
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