- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for encodeThrowsWhenDstIndexCausesOverflow (0.4 seconds)
-
src/test/java/jcifs/EncodableTest.java
"System.arraycopy should throw for insufficient destination space"); } @Test @DisplayName("encode() throws when dstIndex causes overflow") void encodeThrowsWhenDstIndexCausesOverflow() { byte[] src = makeSeq(5); Encodable enc = new ByteEncodable(src, 0, 5); byte[] dst = new byte[6]; // size is 6, but index 2 + len 5 -> overflow
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0)