Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadBytesWireFormatInsufficientBufferForStructureSize (1.16 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
            @DisplayName("Should throw exception with buffer too small to read structure size")
            void testReadBytesWireFormatInsufficientBufferForStructureSize() {
                // Given
                byte[] buffer = new byte[1]; // Too small to read 2-byte structure size
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top