- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testReadBytesWireFormatInvalidSize (0.21 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertEquals(0, result); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() { byte[] buffer = new byte[1024]; int bufferIndex = 100; // Write invalid structure size = 8 SMBUtil.writeInt2(8, buffer, bufferIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertTrue(response.isShareDfs(), "Should detect DFS from decoded data"); } @Test @DisplayName("Should throw exception for invalid structure size") void testReadBytesWireFormatInvalidSize() throws Exception { // Given - Invalid structure size byte[] buffer = new byte[16]; buffer[0] = 0x0F; // Invalid size (15 instead of 16) buffer[1] = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)