Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for detected (0.05 sec)

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

            SMBUtil.writeInt2(65535, buffer2, 58);
    
            // Test should detect buffer overflow (this is working correctly!)
            SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
                response.readBytesWireFormat(buffer, 0);
            });
    
            // The validation correctly detects when buffer extends beyond available data
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/PathValidatorTest.java

            // The normalization removes all duplicate backslashes, so \\\\server becomes \server
            // This test validates that paths which should be UNC but aren't detected due to normalization
            // still pass validation (which is the current behavior, though not ideal)
    
            // These paths normalize to \server\share which is NOT detected as UNC due to normalization
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/ResourceManager.java

                }
            }
        }
    
        /**
         * Report a potential resource leak
         */
        private void reportPotentialLeak(ResourceHolder holder) {
            log.warn("Potential resource leak detected: {} ({}) - open for {} ms", holder.resourceId, holder.resourceType, holder.getAge());
    
            if (log.isDebugEnabled() && holder.allocationStackTrace != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/ServerResponseValidator.java

                integerOverflowsPrevented.incrementAndGet();
                log.warn("Integer overflow in addition: {} + {} = {}", a, b, result);
                throw new SmbException("Integer overflow detected");
            }
            return (int) result;
        }
    
        /**
         * Safely multiply integers checking for overflow
         *
         * @param a first value
         * @param b second value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/query-params.md

    You can declare multiple path parameters and query parameters at the same time, **FastAPI** knows which is which.
    
    And you don't have to declare them in any specific order.
    
    They will be detected by name:
    
    {* ../../docs_src/query_params/tutorial004_py310.py hl[6,8] *}
    
    ## Required query parameters { #required-query-parameters }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:01 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/PreauthIntegrityService.java

                context.invalidate();
                if (enforceIntegrity) {
                    throw new CIFSException("Preauth integrity validation failed - possible downgrade attack detected");
                }
            }
    
            return isValid;
        }
    
        /**
         * Gets the current preauth hash for a session.
         *
         * @param sessionId the session identifier
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                // Timing differences should be minimal (within tolerance)
                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));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

         * @param context additional context
         */
        public void logSecurityViolation(String violation, Map<String, Object> context) {
            String message = "Security violation detected: " + violation;
            logEvent(EventType.SECURITY_VIOLATION, Severity.CRITICAL, message, context);
        }
    
        private void processLogEntry(AuditEntry entry) {
            if (enableJsonLogging) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

         * Handle resource change events
         */
        private void handleResourceChange(WitnessNotification notification) {
            // Resource state changed - may need to reconnect
            log.info("Resource change detected for: {}", notification.getResourceName());
    
            // Schedule reconnection attempt
            scheduleReconnection(getContext().getConfig().getWitnessReconnectDelay());
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

            return;
          }
          // First, check whether var -> arg forms a cycle
          for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) {
            if (var.equalsType(t)) {
              // cycle detected, remove the entire cycle from the mapping so that
              // each type variable resolves deterministically to itself.
              // Otherwise, an F -> T cycle will end up resolving both F and T
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top