diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-04-01 17:14:16 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2026-04-07 15:52:41 +0000 |
| commit | 818243722f6ef4e08bff05a7d3f38984fb758506 (patch) | |
| tree | ccf85b0d3171c9bd11ca4ccfe819341f223463f7 /sys/crypto/armv8 | |
| parent | 1ac7c32807e5da50b8c61c3ffe93f668eac4ba5f (diff) | |
cd9660: Add length checks to Rock Ridge parserstable/14
* cd9660_rrip_slink() did not check that the lengths of individual
entries do not exceed the length of the overall record.
* cd9660_rrip_altname() did not check that the length of the record
was at least 5 before subtracting 5 from it.
Note that in both cases, a better solution would be to check the length
of the data before calling the handler, or immediately upon entry of
the handler, but this would require significant refactoring.
MFC after: 1 week
Reported by: Calif.io in collaboration with Claude and Anthropic Research
Reported by: Adam Crosser, Praetorian
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56215
(cherry picked from commit d0afead876076f605c363f03d92304d1bd75be1c)
Diffstat (limited to 'sys/crypto/armv8')
0 files changed, 0 insertions, 0 deletions
