Page MenuHomeFreeBSD

udf: Improve input validation.
ClosedPublic

Authored by des on Jul 16 2025, 8:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 16, 10:48 AM
Unknown Object (File)
Fri, Sep 11, 7:15 PM
Unknown Object (File)
Fri, Sep 11, 4:50 PM
Unknown Object (File)
Thu, Sep 3, 9:57 PM
Unknown Object (File)
Thu, Sep 3, 12:46 PM
Unknown Object (File)
Mon, Aug 31, 3:59 PM
Unknown Object (File)
Fri, Aug 28, 3:00 PM
Unknown Object (File)
Aug 19 2026, 7:36 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