- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 111 for malformed (0.07 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
}); assertEquals("Invalid state", e.getMessage()); } @Test void testInitSecContext_malformedType2Message() throws SmbException { // Test handling of a malformed Type 2 message when(mockAuth.getDomain()).thenReturn(domain); NtlmContext context = new NtlmContext(mockAuth, true); context.initSecContext(new byte[0], 0, 0); // state -> 2Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
docs/changelogs/changelog_2x.md
_2015-05-16_ * **New HttpUrl API.** It's like `java.net.URL` but good. Note that `Request.Builder.url()` now throws `IllegalArgumentException` on malformed URLs. (Previous releases would throw a `MalformedURLException` when calling a malformed URL.) * **We've improved connect failure recovery.** We now differentiate between setup, connecting, and connected and implement appropriate recovery rules
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
// Assuming KerberosAuthData.parse is tested elsewhere and might return empty for this test case assertTrue(encData.getUserAuthorizations().isEmpty()); } /** * Test constructor with a malformed token. */ @Test void testConstructorMalformed() { byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketReader.kt
OPCODE_CONTROL_CLOSE -> { var code = CLOSE_NO_STATUS_CODE var reason = "" val bufferSize = controlFrameBuffer.size if (bufferSize == 1L) { throw ProtocolException("Malformed close payload length of 1.") } else if (bufferSize != 0L) { code = controlFrameBuffer.readShort().toInt() reason = controlFrameBuffer.readUtf8()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 9.9K bytes - Viewed (0) -
docs/changelogs/changelog_1x.md
_2014-01-11_ * New: Support for "PATCH" HTTP method in client and MockWebServer. * Fix: Drop `Content-Length` header when redirected from POST to GET. * Fix: Correctly read cached header entries with malformed header names. * Fix: Do not directly support any authentication schemes other than "Basic". * Fix: Respect read timeouts on recycled connections. * Fix: Transmit multiple cookie values as a single header with delimiter.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 6.4K bytes - Viewed (0) -
cmd/object-api-errors.go
func (e OperationTimedOut) Error() string { return "Operation timed out" } // Multipart related errors. // MalformedUploadID malformed upload id. type MalformedUploadID struct { UploadID string } func (e MalformedUploadID) Error() string { return "Malformed upload id " + e.UploadID } // InvalidUploadID invalid upload id. type InvalidUploadID struct { Bucket string Object string
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 09 02:05:14 UTC 2024 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} } @Nested @DisplayName("Edge Cases and Error Handling") class EdgeCasesTests { @Test @DisplayName("Should handle malformed buffer gracefully") void testReadDataWireFormatMalformedBuffer() { byte[] buffer = new byte[3]; // Too small for valid DFS referral assertThrows(ArrayIndexOutOfBoundsException.class, () -> {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
cmd/postpolicyform.go
}) } case []any: // Handle array types. if len(condt) != 3 { // Return error if we have insufficient elements. return parsedPolicy, fmt.Errorf("Malformed conditional fields %s of type %s found in POST policy form", condt, reflect.TypeOf(condt).String()) } switch toLowerString(condt[0]) { case policyCondEqual, policyCondStartsWith:
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
void testInvalidDataSize() { byte[] tooSmall = new byte[10]; PACDecodingException exception = assertThrows(PACDecodingException.class, () -> new PacLogonInfo(tooSmall)); assertEquals("Malformed PAC", exception.getMessage()); } @Test @DisplayName("Test getters return expected values using mocks") void testGetters() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt
fun readBitString(): BitString { if (bytesLeft == -1L || constructed) { throw ProtocolException("constructed bit strings not supported for DER") } if (bytesLeft < 1) { throw ProtocolException("malformed bit string") } val unusedBitCount = source.readByte().toInt() and 0xff val byteString = source.readByteString(bytesLeft) return BitString(byteString, unusedBitCount) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.5K bytes - Viewed (0)