Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testGetSecurityWithMismatchedSize (9.51 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            // Test getSecurity with large descriptor - should return null (no DACL)
            ACE[] result = msrpcShareGetInfo.getSecurity();
            assertNull(result);
        }
    
        @Test
        void testGetSecurityWithMismatchedSize() throws Exception {
            // Test when sd_size doesn't match actual array size
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            info502.security_descriptor = new byte[] { 1, 2, 3, 4 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top