summaryrefslogtreecommitdiffstats
path: root/test/native/cross-android-armv7-tst1/hello-java.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-16 03:55:25 +0200
committerSven Gothel <[email protected]>2015-07-16 03:55:25 +0200
commitf6a5ac4473135bbc4bc1a5f537e060df45eb4824 (patch)
treed1a27ada9901cb550b926f8f7d667bb1add63062 /test/native/cross-android-armv7-tst1/hello-java.c
parent73c0d15d02a4a38887e8bb065c638431705048be (diff)
Bug 1166: Refine fix of JavaEmitter's JVMUtil_NewDirectByteBufferCopy
See commit e424c28f869269f5a22c22ef017230346b22847a (first patch) Since JVMUtil_NewDirectByteBufferCopy is being called w/ 'size_t' values, e.g. 'count * sizeof(Structure)', we shall validate whether 'capacity' is valid, i.e. <= MAX_INT. After validation, 'capacity' is being cast to 'jint' before being passed to the java method.
Diffstat (limited to 'test/native/cross-android-armv7-tst1/hello-java.c')
0 files changed, 0 insertions, 0 deletions