summaryrefslogtreecommitdiffstats
path: root/luni/bouncycastle-license.txt
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-07-16 19:32:11 -0700
committerElliott Hughes <enh@google.com>2010-07-16 19:34:56 -0700
commit0adb7b318dd5d67559d5b31b1ef3280dd72e1f5f (patch)
tree17d1f6e13d007a57cb104d4eb93b467e34336a74 /luni/bouncycastle-license.txt
parent95b6f9eb6c3ccd0c016245a75ac02cc9ac6534d5 (diff)
downloadlibcore-0adb7b318dd5d67559d5b31b1ef3280dd72e1f5f.zip
libcore-0adb7b318dd5d67559d5b31b1ef3280dd72e1f5f.tar.gz
libcore-0adb7b318dd5d67559d5b31b1ef3280dd72e1f5f.tar.bz2
Fix a long-latent bug in the zip code, exposed by -Xjniopts:forcecopy.
We were using ScopedByteArrayRO to access a byte[] read-write, and accidentally relying on the fact that normally the VM will give us a pointer to the actual array. A C-style cast that cast away const hid this obvious bug from the compiler, so this patch also removes all the other C-style casts from the zip code. Change-Id: I15b2175af7d089ddc86448f54219abef2a9ef8cd
Diffstat (limited to 'luni/bouncycastle-license.txt')
0 files changed, 0 insertions, 0 deletions