summaryrefslogtreecommitdiff
path: root/opengl/java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2020-01-22 14:18:12 -0500
committerLeon Scroggins III <scroggo@google.com>2020-01-22 14:18:12 -0500
commitd894c59881d1172f98981fa0da7a675cbd7130b8 (patch)
tree8b14f46d4dbc814dfdadcf01a786a71cd7e83cf1 /opengl/java
parent380f3c9ae622c7284d88afbab4732291b472f64b (diff)
AImageDecoder: ensure that stride is pixel aligned
Bug: 147749998 Test: I902de3410c45a21cf27b48a02cdc5d514b7ada60 If the client uses a stride that is not pixel aligned, AImageDecoder will crash internally trying to access the memory. Return a failure instead of crashing. Rely on SkImageInfo to compute the minimum size required, too. Change-Id: Ia4d14d6209e6f4af74906ff43208fa83ac82cbcd
Diffstat (limited to 'opengl/java')
0 files changed, 0 insertions, 0 deletions