Skip to content
Snippets Groups Projects

checkasm: looprestoration: Do strict bounds checking of the output

Merged Martin Storsjö requested to merge mstorsjo/dav1d:checkasm-looprestoration-edges into master

This would allow to immediately detect unintended writes out of bounds like the ones fixed in 72b53807 and 1c7433a5.

Extend the PIXEL_RECT macro to provide a variable containing the full, padded height of the buffer, for uses that operate on the full buffer.

Allow overwriting past the right edge of the target output rectangle, up to an alignment of 64 pixels, but allow no overwrite past the bottom.

Merge request reports

Pipeline #536515 passed

Pipeline passed for f8d2620d on mstorsjo:checkasm-looprestoration-edges

Test coverage 91.51% (0.11%) from 1 job

Merged by Jean-Baptiste KempfJean-Baptiste Kempf 5 months ago (Nov 21, 2024 9:22am UTC)

Loading

Pipeline #536519 passed

Pipeline passed for f8d2620d on master

Test coverage 91.56% (0.11%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading