Skip to content

zink: do not read outside of array

Erik Faye-Lund requested to merge kusma/mesa:zink-array-oob into master

We need to bounds-check before we index the array, otherwise we peek beyond the end of it.

Caught by Valgrind.

Fixes: dd29a7e5 ("zink: move descriptor barrier handling to main update function")

Merge request reports