Add enum entries for the maximum valid metadata values
All threads resolved!
All threads resolved!
Fixes #346 (closed).
Merge request reports
Activity
Filter activity
changed milestone to %0.8.0
added sanitizer label
- Resolved by Henrik Gramner
The
Dav1dChromaSamplePosition
entry isn't strictly required since the range is defined in terms of bits required to represent the value and not the value itself, and as such3
is valid when the maximum defined entry is2
. Should we still keep it?
I've locally confirmed that this patch avoids the UBsan error we discovered in https://bugzilla.mozilla.org/show_bug.cgi?id=1649862. Thanks for the quick turnaround!
Please register or sign in to reply