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
This commit is contained in:
committed by
Ralph Loader
parent
bf1b388d0e
commit
2488a51e82
@@ -0,0 +1 @@
|
||||
ok
|
||||
Reference in New Issue
Block a user