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, Oct 8, 6:33 AM
Unknown Object (File)
Sat, Oct 3, 10:40 PM
Unknown Object (File)
Tue, Sep 29, 4:03 PM
Unknown Object (File)
Sun, Sep 20, 4:42 PM
Unknown Object (File)
Wed, Sep 16, 10:48 AM
Unknown Object (File)
Sep 11 2026, 7:15 PM
Unknown Object (File)
Sep 11 2026, 4:50 PM
Unknown Object (File)
Sep 3 2026, 9:57 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