zink: do not read outside of array
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")
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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")