Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for createLargeBufferForContexts (0.44 sec)

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

        }
    
        /**
         * Test negotiate context data length validation.
         */
        @Test
        public void testExcessiveNegotiateContextDataLength() {
            byte[] buffer = createLargeBufferForContexts();
    
            // Set SMB 3.1.1 dialect and 1 context
            SMBUtil.writeInt2(0x0311, buffer, 4);
            SMBUtil.writeInt2(1, buffer, 6);
            SMBUtil.writeInt4(128, buffer, 60); // Context offset
    
    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