Should skiko be performing memory bounds checks, e.g. for bitmap operations?
k
Kirill Grouchnikov
06/18/2024, 5:11 PM
It does a few null checks, but other than that it is a thin wrapper around Skia. If Skia allows a certain “misuse”, Skiko does that too.
r
rob42
06/19/2024, 8:54 AM
Thanks for clarifying! I spent a little while chasing an off-by-one bug that lead to reading out-of-bounds memory values. Wasn't sure whether it was expected that there would be guards for this or not