commit | 0a561abe5763f848e27c435147cfaff043f7d8f8 | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Fri May 03 11:27:07 2019 -0700 |
committer | Alex Light <allight@google.com> | Fri May 03 12:48:53 2019 -0700 |
tree | 63851393fbf44c8be41e285e3e4b01a2ef0a4f9c | |
parent | 6cca24104ae06c7cd948e466af127bf1bc620f81 [diff] |
Check for null before using AddLocalReference in ti_method We could incorrectly calling AddLocalReference with a null pointer during the JVMTI GetLocalObject call. This would cause a check failure because nulls are not allowed in the table. Test: ./test.py --host Test: Manual Bug: 131856650 Change-Id: Iabc283061c8f3ca8b3f7421ef9de83bb67605402 (cherry picked from commit 023533677989028d48f4e64dad0a5b3b4e59b726)