Page MenuHomeFreeBSD

udf: Improve input validation.
ClosedPublic

Authored by des on Jul 16 2025, 8:02 AM.
Tags
None
Referenced Files
F143837576: D51339.id.diff
Sat, Jan 31, 7:42 PM
F143791041: D51339.diff
Sat, Jan 31, 1:37 PM
Unknown Object (File)
Sun, Jan 18, 6:16 AM
Unknown Object (File)
Dec 8 2025, 11:59 PM
Unknown Object (File)
Dec 3 2025, 9:03 PM
Unknown Object (File)
Nov 21 2025, 5:07 PM
Unknown Object (File)
Oct 28 2025, 7:17 AM
Unknown Object (File)
Oct 27 2025, 7:57 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