summaryrefslogtreecommitdiff
path: root/opengl/libagl/TextureObjectManager.cpp
diff options
context:
space:
mode:
author Martijn Coenen <maco@google.com> 2018-04-04 11:46:56 +0200
committer Atanas Kirilov <akirilov@google.com> 2018-04-16 18:57:32 +0000
commit732132b765cd7b667f16cf32f0fe4c852d7d44dd (patch)
treed451e739649e0309ac14aa64792259b896fbeed1 /opengl/libagl/TextureObjectManager.cpp
parent27f3e039d8f7ba06090eccfc00b2420021ba2acc (diff)
Don't pad before calling writeInPlace().
writeInplace() itself already pads securely, by masking off the padded bytes. If the padding is done before calling writeInplace(), no mask is applied, and heap data can leak. Bug: 77237570 Test: builds Change-Id: Ide27a0002d4ed4196530430760245b971f6a3f44 Merged-In: Ide27a0002d4ed4196530430760245b971f6a3f44 (cherry picked from commit f8542381b72a7bb2452a5278a00ca8c34edbf8a0)
Diffstat (limited to 'opengl/libagl/TextureObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions