Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMalformedStructureSize (0.67 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            response = new Smb2NegotiateResponse(mockConfig);
        }
    
        /**
         * Test that malformed structure size is properly rejected.
         */
        @Test
        public void testMalformedStructureSize() {
            byte[] malformedBuffer = createBasicNegotiateResponseBuffer();
            // Set incorrect structure size (should be 65)
            SMBUtil.writeInt2(64, malformedBuffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top