- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testInsufficientBufferSize (0.26 sec)
-
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
assertTrue(exception.getMessage().contains("got: 64")); } /** * Test that insufficient buffer size is properly detected. */ @Test public void testInsufficientBufferSize() { byte[] tooSmallBuffer = new byte[32]; // Much smaller than required 65 bytes SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0)