Repository navigation
Handle truncated RGB data in convertRGBToRGBA - #22402
Conversation
Bound 32-bit reads to the source view to avoid RangeError and reading unrelated bytes. The scalar loops treat missing RGB bytes as zeros.
Viewer preview🗑️ Viewer previews removed. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #22402 +/- ##
==========================================
- Coverage 90.58% 90.58% -0.01%
==========================================
Files 278 278
Lines 68568 68568
==========================================
- Hits 62115 62112 -3
- Misses 6453 6456 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will regress 1 benchmark
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
Reference testsResults for 7924e33 (run, references from mozilla/pdf.js.refs@c5cf6c9ab0).
The report is kept for 30 days and replaced by the next run. |
timvandermeij
left a comment
There was a problem hiding this comment.
r=me, with passing browser tests. Thanks!
Bound 32-bit reads to the source view to avoid RangeError and reading unrelated bytes. The scalar loops treat missing RGB bytes as zeros.