Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,317 for exceeds (0.38 sec)

  1. src/main/java/jcifs/util/ServerResponseValidator.java

            if (size > maxSize) {
                failedValidations.incrementAndGet();
                log.warn("Message size exceeds maximum: {} > {}", size, maxSize);
                throw new SmbException("Message size exceeds maximum: " + size + " > " + maxSize);
            }
        }
    
        /**
         * Validate string from server response
         *
         * @param str string to validate
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/InputValidator.java

                throw new IllegalArgumentException(
                        "Source array bounds exceeded: offset=" + srcOffset + ", length=" + length + ", array.length=" + src.length);
            }
            if (dstOffset + length > dst.length) {
                throw new IllegalArgumentException(
                        "Destination array bounds exceeded: offset=" + dstOffset + ", length=" + length + ", array.length=" + dst.length);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            // Test when data length exceeds outputBuffer size
            byte[] buffer = new byte[2000];
            int dataLen = outputBuffer.length + 100; // Exceeds outputBuffer size
    
            SMBProtocolDecodingException exception =
                    assertThrows(SMBProtocolDecodingException.class, () -> response.readDataWireFormat(buffer, 0, dataLen));
    
            assertEquals("Payload exceeds buffer size", exception.getMessage());
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            }
            if (offset + length > data.length) {
                throw new IllegalArgumentException("Offset + length exceeds data buffer size");
            }
            if (offset + SIGNATURE_OFFSET + SIGNATURE_LENGTH > data.length) {
                throw new IllegalArgumentException("Signature field exceeds data buffer size");
            }
    
            // Use fine-grained locking for better concurrency
            this.signingLock.lock();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/ByteEncodableTest.java

            assertThrows(IndexOutOfBoundsException.class, () -> {
                encodable.encode(dest, 0);
            }, "Should throw IndexOutOfBoundsException if source offset + length exceeds source array bounds");
        }
    
        @Test
        void testEncodeDestinationTooSmall() {
            // Test when destination array is too small
            byte[] data = { 0x01, 0x02, 0x03 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. cmd/object-api-datatypes.go

    	MaxUploads int
    
    	// Indicates whether the returned list of multipart uploads is truncated. A
    	// value of true indicates that the list was truncated. The list can be truncated
    	// if the number of multipart uploads exceeds the limit allowed or specified
    	// by max uploads.
    	IsTruncated bool
    
    	// List of all pending uploads.
    	Uploads []MultipartInfo
    
    	// When a prefix is provided in the request, The result contains only keys
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponse.java

            if (len > this.outputBuffer.length) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                assertTrue(timingRatio < TIMING_TOLERANCE,
                        String.format(
                                "Timing attack vulnerability detected: timing ratio %.3f exceeds tolerance %.3f "
                                        + "(start: %d ns, middle: %d ns, end: %d ns)",
                                timingRatio, TIMING_TOLERANCE, timeStart, timeMiddle, timeEnd));
            } finally {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponse.java

            if (len > this.outputBuffer.length) {
                throw new SMBProtocolDecodingException("Payload exceeds buffer size");
            }
            System.arraycopy(buffer, bufferIndex, this.outputBuffer, 0, len);
            return len;
    
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

                    Arguments.of("wrong TOK_ID", new byte[] { 0x00, 0x02, 0x00, 0x01 }, IllegalArgumentException.class),
    
                    // OID length claims more than available
                    Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class),
    
                    // Missing NAME_LEN (not enough bytes for 4-byte length)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top