- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for Validate (0.14 sec)
-
src/main/java/jcifs/util/InputValidator.java
} } /** * Validates a string is not null or empty * * @param value the string to validate * @param fieldName the field name for error reporting * @return the validated string * @throws IllegalArgumentException if string is null or empty */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0); private final AtomicLong integerOverflowsPrevented = new AtomicLong(0); /** * Validate SMB response buffer bounds * * @param buffer the buffer to validate * @param expectedSize expected minimum size * @param maxSize maximum allowed size * @throws SmbException if validation fails */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
src/main/java/jcifs/util/PathValidator.java
this.strictMode = strictMode; this.blacklistedPaths = new HashSet<>(); this.whitelistedPaths = new HashSet<>(); } /** * Validate and normalize a path * * @param path the path to validate * @return normalized safe path * @throws SmbException if path is invalid or dangerous */ public String validatePath(String path) throws SmbException {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/CompressionNegotiateContext.java
return 8; // Minimum size: count + padding + flags } return 8 + (this.compressionAlgorithms.length * 2); } /** * Validates if the compression algorithm is known. * * @param algorithm the algorithm to validate * @return true if the algorithm is known */ private boolean isValidCompressionAlgorithm(int algorithm) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 7.5K bytes - Viewed (0) -
.github/workflows/cffconvert.yml
name: cffconvert on: push: paths: - CITATION.cff permissions: contents: read jobs: validate: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks name: "validate" runs-on: ubuntu-latest steps: - name: Check out a copy of the repository uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Mon Sep 01 15:40:11 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
throw new CIFSException("Failed to encrypt message", e); } } /** * Validate encryption parameters to prevent security issues * * @return true if parameters are valid */ private boolean validateEncryptionParameters() { // Validate cipher ID if (cipherId != CIPHER_AES_128_CCM && cipherId != CIPHER_AES_128_GCM && cipherId != CIPHER_AES_256_CCM
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java
// Validate negotiate context count - prevent excessive memory allocation if (negotiateContextCount < 0 || negotiateContextCount > 100) { throw new SMBProtocolDecodingException("Invalid negotiate context count: " + negotiateContextCount + " (must be 0-100)"); } bufferIndex += 4; // Validate sufficient buffer space for server GUID and capabilitiesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 24K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
// Try to get from cache first - O(1) operation byte[] buf = bufferQueue.poll(); if (buf != null) { queueSize.decrementAndGet(); return buf; } // Validate buffer size to prevent overflow int bufferSize = SmbComTransaction.TRANSACTION_BUF_SIZE; if (bufferSize < 0 || bufferSize > MAX_BUFFER_SIZE) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
//// /// info In Pydantic version 1 the method to parse and validate an object was `Item.parse_obj()`, in Pydantic version 2, the method is called `Item.model_validate()`. /// /// tip Here we reuse the same Pydantic model. But the same way, we could have validated it in some other way.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
this.provider = Crypto.getProvider(); break; default: throw new IllegalArgumentException("Unknown dialect"); } // Initialize the digest once to validate configuration this.digest = createMacInstance(); } /** * Create a new Mac instance for thread-safe operations * @return initialized Mac instance
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0)