- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 139 for unsafe (0.07 sec)
-
src/main/java/jcifs/internal/smb2/rdma/disni/DisniMemoryRegion.java
} @Override protected long getBufferAddress(ByteBuffer buffer) { // In real implementation, this would get the native memory address: // For direct ByteBuffers, this could be obtained through unsafe operations // or DiSNI-specific methods if (buffer.isDirect()) { // Assign a unique address to each buffer instanceRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
final File safeFile = new File(baseDir, "subdir/file.txt"); final File unsafeFile = new File(baseDir, "../../../etc/passwd"); assertTrue("Safe file should be allowed", FileUtil.isPathSafe(safeFile, baseDir)); assertFalse("Unsafe file should be blocked", FileUtil.isPathSafe(unsafeFile, baseDir)); } /** * Test isPathSafe with path inside base directory *
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
/** The key of the message: {item} must be between {min} and {max}. */ public static final String CONSTRAINTS_Range_MESSAGE = "{constraints.Range.message}"; /** The key of the message: {item} contains unsafe HTML content. */ public static final String CONSTRAINTS_SafeHtml_MESSAGE = "{constraints.SafeHtml.message}"; /** The key of the message: The script expression "{script}" is not true. */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Jul 05 02:36:47 UTC 2025 - 119.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashMap.java
* <p> * <strong>Thread-Safety:</strong> This class is <strong>NOT thread-safe</strong>. * It extends {@link LinkedHashMap} without synchronization. If multiple threads access * an instance concurrently, and at least one thread modifies the map structurally, * it must be synchronized externally. * </p> * <p> * For thread-safe usage, wrap with {@link java.util.Collections#synchronizedMap(Map)}: * </p> * <pre>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
*/ @Override public synchronized void release() throws CIFSException { final long usage = this.usageCount.decrementAndGet(); if (usage == 0) { closeInternal(0L, false); } else if (log.isTraceEnabled()) { log.trace(String.format("Release %s (%d)", this, usage)); } } /** * {@inheritDoc} * * @see java.lang.Object#finalize()Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/main/java/org/codelibs/core/io/FileUtil.java
/** * Validates that a given path is safe and does not attempt path traversal attacks. * <p> * This method checks if the resolved absolute path starts with the allowed base directory, * preventing access to files outside the intended directory through path traversal * techniques like "../../../etc/passwd". * </p> * <p> * Example usage: * </p> * <pre>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/exec/Crawler.java
@Option(name = "-s", aliases = "--sessionId", metaVar = "sessionId", usage = "Session ID") public String sessionId; /** Name for the crawling session for identification purposes. */ @Option(name = "-n", aliases = "--name", metaVar = "name", usage = "Name") public String name; /** Comma-separated list of web configuration IDs to crawl. */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 31.4K bytes - Viewed (0) -
README.md
<artifactId>corelib</artifactId> <version>0.7.0</version> </dependency> ``` ### Gradle Dependency ```gradle implementation 'org.codelibs:corelib:0.7.0' ``` ## 📖 Usage Examples ### Bean Utilities ```java import org.codelibs.core.beans.*; import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.beans.util.BeanUtil;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
*/ public static byte[] calculateMacHMACAES(int usage, KerberosKey baseKey, byte[] input) throws GeneralSecurityException { byte[] cst = { (byte) (usage >> 24 & 0xFF), (byte) (usage >> 16 & 0xFF), (byte) (usage >> 8 & 0xFF), (byte) (usage & 0xFF), (byte) 0x99 }; byte[] output = new byte[12]; byte[] dk = deriveKeyAES(baseKey, cst); // Checksum keyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions. * * <p>Example usage:</p> * <pre> * {@code * XPathAPI xPathAPI = new XPathAPI(); * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example"); * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0)