diff options
author | John Reck <jreck@google.com> | 2015-01-23 10:57:15 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-01-23 11:01:05 -0800 |
commit | 4018eb376383a9bbe2aa75a95cc6917ca72aa0b7 (patch) | |
tree | bec98fd86e140c4d0658883e8846ed146b7e4589 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b74155cf01f959fc9b7909de5a22806ad519f7c9 (diff) |
Prevent memory corruption from use-after-free
Bug: 19035637
If an app tries to call recycle() on a Bitmap that has
already been finalized it will result in use-after-frees. This is
bad. Avoid this by setting the pointer to 0 and checking for this
Change-Id: I12d73703a0f95b05fe4c2fd8e9c01b6a3f2f023b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions