- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 134 for prevented (1.51 sec)
-
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
@DisplayName("writeAndXWireFormat with andx but batching prevented by limit") void testWriteAndXWireFormatBatchingPrevented() { DummyPlainSMB next = new DummyPlainSMB(); DummyAndXBlock block = new DummyAndXBlock(next); block.customBatchLimit = 1; // allow 1, but we'll set batchLevel to meet limit block.batchLevel = 1; // batchLevel >= limit prevents chaining byte[] buf = new byte[128];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
} assertEquals(threadCount * opsPerThread, successCount.get(), "All operations should succeed"); } /** * Test that session release with double-check pattern prevents race conditions. */ @Test public void testSessionReleaseDoubleCheckPattern() throws Exception { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
if (id == 0) { // create newInputs = inputs; newOutputs = outputs; } } /** * Gets the new input words. * Returns a defensive copy to prevent external modification. * * @return The new input words (defensive copy). */ public String[] getNewInputs() { return newInputs == null ? null : newInputs.clone(); } /**Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
/** * Utility class for handling {@link File}. * <p> * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources, * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks. * Methods that accept path strings do not perform automatic validation to maintain backward compatibility. * </p> * * @author higa */ public abstract class FileUtil { /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/error/ErrorSystemerrorAction.java
import org.lastaflute.web.response.HtmlResponse; /** * Action class for handling HTTP 500 Internal Server Error pages. * This action displays error pages when the server encounters * an unexpected condition that prevents it from fulfilling the request. */ public class ErrorSystemerrorAction extends FessSearchAction { /** * Default constructor for ErrorSystemerrorAction. */ public ErrorSystemerrorAction() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/util/InputValidator.java
*/ package jcifs.util; import java.util.regex.Pattern; /** * Comprehensive input validation utility for SMB protocol implementation. * Provides validation methods to prevent buffer overflows, injection attacks, * and other security vulnerabilities. */ public final class InputValidator { private InputValidator() { // Utility class }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/constants/SuggestConstants.java
/** * This class contains constants used in the Fess Suggest module. * It is a utility class and should not be instantiated. */ public final class SuggestConstants { // Private constructor to prevent instantiation private SuggestConstants() { } /** An empty string constant. */ public static final String EMPTY_STRING = ""; /** The system property name for user dictionary encoding. */Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
newInputs = inputs; newOutput = output; } } /** * Returns the array of new input character sequences for update operations. * Returns a defensive copy to prevent external modification. * * @return array of new input sequences (defensive copy), or null if no updates are pending */ public String[] getNewInputs() {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/EditForm.java
*/ @Required @Size(max = 1000) public String id; /** * The version number of the scheduler for optimistic locking. * This field is required to prevent concurrent modification conflicts * by ensuring the scheduler hasn't been modified by another process. */ @Required @ValidateTypeFailure public Integer versionNo;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
/** * Flag indicating a shared lock that allows concurrent read access. */ public static final int SMB2_LOCKFLAG_SHARED_LOCK = 0x1; /** * Flag indicating an exclusive lock that prevents any other access. */ public static final int SMB2_LOCKFLAG_EXCLUSIVE_LOCK = 0x2; /** * Flag indicating an unlock operation to release a previously held lock. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0)