Skip to content
Snippets Groups Projects
Commit f8d2620d authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf
Browse files

checkasm: looprestoration: Do strict bounds checking of the output

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.
parent f15666b7
No related branches found
No related tags found
1 merge request!1766checkasm: looprestoration: Do strict bounds checking of the output
Pipeline #536519 passed with stages
in 54 minutes and 20 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment