- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ServerResponseValidator (0.43 sec)
-
src/main/java/jcifs/util/ServerResponseValidator.java
* - Integer overflow prevention * - Size validation * - Protocol compliance checking * - Malformed response detection */ public class ServerResponseValidator { private static final Logger log = LoggerFactory.getLogger(ServerResponseValidator.class); // Protocol limits private static final int MAX_SMB_MESSAGE_SIZE = 16 * 1024 * 1024; // 16MB max for SMB3
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/test/java/jcifs/util/ServerResponseValidatorTest.java
import org.junit.jupiter.api.Test; import jcifs.smb.SmbException; /** * Test cases for ServerResponseValidator */ public class ServerResponseValidatorTest { private ServerResponseValidator validator; @BeforeEach public void setUp() { validator = new ServerResponseValidator(); } @Test public void testValidBuffer() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0)