commit | 71b1708f1e610143dc657e370f85eebbde4a900e | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Apr 17 20:12:29 2017 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Apr 18 09:49:40 2017 -0700 |
tree | 165b24e1d70cdc3d92f845f8eb7485f2a9d3e061 | |
parent | 27fb1dc467effbd8df43e6207743fdb7bcee4044 [diff] |
Use correct type for GetValueFromShadowFrame The field type is not necessarily the input type for boxed primitives. If the field type is < 32 bits, it means there will be partial object pointer in the JValue. If a conversion check is later needed in GetUnboxedTypeAndValue, it will crash. The fix is to use the PTypes. Bug: 37446461 Test: test-art-host Change-Id: I0c4b405f0c13910523b98a87ef12b9f302a5e241