Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testReadBytesWireFormatWithInvalidStructureSize (1.68 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                assertEquals(0x20, response.getFileAttributes());
            }
    
            @Test
            @DisplayName("Should throw exception for invalid structure size")
            void testReadBytesWireFormatWithInvalidStructureSize() {
                // Given
                byte[] buffer = new byte[60];
                SMBUtil.writeInt2(59, buffer, 0); // Invalid structure size (should be 60)
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top