Should skiko be performing memory bounds checks, e...
# compose-desktop
r
Should skiko be performing memory bounds checks, e.g. for bitmap operations?
k
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
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