Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testInvalidNegotiateContextOffset (0.24 sec)

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

                    || exception.getMessage().contains("Invalid security buffer offset"));
        }
    
        /**
         * Test negotiate context offset validation.
         */
        @Test
        public void testInvalidNegotiateContextOffset() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Set SMB 3.1.1 dialect and valid context count
            SMBUtil.writeInt2(0x0311, buffer, 4);
    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