diff options
author | Ralph Loader <rcl@ihug.co.nz> | 2003-10-16 21:28:23 +0000 |
---|---|---|
committer | Ralph Loader <ralph@gcc.gnu.org> | 2003-10-16 21:28:23 +0000 |
commit | 2488a51e82c40b41b3226100d18323fee5e34613 (patch) | |
tree | 29b6320b5dc7e8dbb94d055fb55385f1064c0a14 /libjava/java/lang/natObject.cc | |
parent | bf1b388d0ebb654f925fa101f1e23444009f0918 (diff) | |
download | gcc-2488a51e82c40b41b3226100d18323fee5e34613.zip gcc-2488a51e82c40b41b3226100d18323fee5e34613.tar.gz gcc-2488a51e82c40b41b3226100d18323fee5e34613.tar.bz2 |
natString.cc (getChars): Fix validation of array indexes.
* java/lang/natString.cc (getChars):
Fix validation of array indexes.
(getBytes, regionMatches, startsWith, valueOf): Likewise.
* testsuite/libjava.lang/String_overflow.java: New file.
* testsuite/libjava.lang/String_overflow.out: New file.
From-SVN: r72578
Diffstat (limited to 'libjava/java/lang/natObject.cc')
0 files changed, 0 insertions, 0 deletions