Page MenuHomeFreeBSD

udf: Improve input validation.
ClosedPublic

Authored by des on Jul 16 2025, 8:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 10:23 PM
Unknown Object (File)
Fri, Oct 10, 10:32 AM
Unknown Object (File)
Fri, Oct 10, 10:32 AM
Unknown Object (File)
Fri, Oct 10, 4:00 AM
Unknown Object (File)
Sep 14 2025, 8:47 AM
Unknown Object (File)
Sep 11 2025, 4:23 AM
Unknown Object (File)
Sep 6 2025, 5:09 AM
Unknown Object (File)
Sep 2 2025, 7:06 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