Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 929 for prevent (0.07 seconds)

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

            });
    
            assertTrue(exception.getMessage().contains("Invalid negotiate context count: 65535"));
        }
    
        /**
         * Test validation of excessive buffer sizes to prevent resource exhaustion.
         */
        @Test
        public void testExcessiveBufferSizes() {
            byte[] buffer = createBasicNegotiateResponseBuffer();
    
            // Test excessive maxTransactSize (> 16MB)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

        /** Constant value representing Docker application type */
        private static final String FESS_APP_DOCKER = "docker";
    
        /**
         * Protected constructor to prevent instantiation of this utility class.
         * This class is designed to be used statically.
         */
        protected ResourceUtil() {
            // nothing
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

        // JVM shutdown will not be prevented from exiting after this service has stopped or failed.
        // Technically this listener is added after start() was called so it is a little gross, but it
        // is called within doStart() so we know that the service cannot terminate or fail concurrently
        // with adding this listener so it is impossible to miss an event that we are interested in.
        addListener(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 27.7K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SpnegoContext.java

         */
        @Override
        public int getFlags() {
            return this.mechContext.getFlags();
        }
    
        @Override
        public boolean isSupported(final ASN1ObjectIdentifier mechanism) {
            // prevent nesting
            return false;
        }
    
        /**
         * Determines what mechanism is being used for this context.
         *
         * @return the Oid of the mechanism being used
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

    package jcifs.util;
    
    import java.util.concurrent.atomic.AtomicLong;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.smb.SmbException;
    
    /**
     * Validator for SMB server responses to prevent buffer overflow and injection attacks.
     *
     * Features:
     * - Buffer bounds checking
     * - Integer overflow prevention
     * - Size validation
     * - Protocol compliance checking
     * - Malformed response detection
     */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

            typeArguments.flatMap(::apiTypeKey) +
            bounds.flatMap(::apiTypeKey)
    }
    
    
    // TODO Policy for extensions with reified generics
    //
    // Goals
    // - make the dsl predictable
    // - prevent ambiguous overload situations
    //
    // Rules
    // 1. an extension should either require no type parameters, a single reifeid type parameter, at call site
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. CHANGELOG/CHANGELOG-1.3.md

        * In order to remain backwards compatible, the new controller...
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Click Count (0)
  8. ci/devinfra/docker/windows2022/Dockerfile

    ENV BAZEL_SH "C:\tools\msys64\usr\bin\bash.exe"
    ENV BAZEL_VS "C:\Program Files\Microsoft Visual Studio\2022\BuildTools"
    ENV BAZEL_VC "C:\Program Files\Microsoft Visual Studio\2022\Community\VC"
    
    # Environment variables to prevent auto-conversion of Linux-like paths to Windows paths.
    # This is necessary as some paths end up invalid/mangled.
    ENV MSYS_NO_PATHCONV 1
    ENV MSYS2_ARG_CONV_EXCL *
    
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Jan 13 18:59:55 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/Cut.java

            return compareResult == 0;
          } catch (ClassCastException wastNotComparableToOurType) {
            return false;
          }
        }
        return false;
      }
    
      // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it
      @Override
      public abstract int hashCode();
    
      /*
       * The implementation neither produces nor consumes any non-null instance of type C, so
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

      }
    
      /**
       * If the client closes the connection while it is consuming the response body, attempts to peek
       * or read the trailers should throw.
       *
       * This test needs to make two interventions to prevent OkHttp from reading the entire response
       * body, which it will attempt to do otherwise:
       *
       *  * Don't cache the response. The cache will try to read the entire response body so that it
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 08 21:45:04 GMT 2025
    - 18.8K bytes
    - Click Count (0)
Back to Top