summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorPatrik Torstensson <totte@google.com>2017-03-27 15:04:11 +0100
committerRob Carr <racarr@google.com>2017-04-06 21:19:58 +0000
commit511a808cea9020a776749904feb21a2dd55ef7b4 (patch)
tree31d401468059b7039dcfe2add9a0151e7db99c27 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent43fed9afe41ee5cf7bc208f37f373d7061b5be19 (diff)
SurfaceControl: Crash due to invalid JNI cast
The (void*)buffer.get on ARM32 is 4 byte, so the calling convention will put the argument in [sp, #12]. However, the caller actually expects a long (the signature of gGraphicBufferClassInfo.builder), which means it will expect it to be in [sp, #16] Test: Tested on mtk device Fixes: 36631082 Fixes: 36974487 Change-Id: I0f723125e612d096c0d76ca3360d895f3f23f286 (cherry picked from commit 98dd5d9a85e8911cf41dea6198d4111f737a5892)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions