- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 107 for malformed (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketReaderTest.kt
assertFailsWith<ProtocolException> { clientReader.processNextFrame() }.also { expected -> assertThat(expected.message) .isEqualTo("Malformed close payload length of 1.") } } @Test fun closeCallsCallback() { data.write("880703e848656c6c6f".decodeHex()) // Close with code and reason clientReader.processNextFrame()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.4K 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) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java
assertEquals("Expected structureSize = 4", exception.getMessage()); } @Test @DisplayName("Should handle malformed buffer gracefully") void testMalformedBuffer() { // Given - buffer with random data byte[] buffer = new byte[10]; for (int i = 0; i < buffer.length; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
assertFailsWith<EOFException> { part.body.readUtf8() } assertFailsWith<EOFException> { assertThat(parts.nextPart()).isNull() } } @Test fun `malformed headers`() { val multipart = """ |--simple boundary |abcd | """.trimMargin() .replace("\n", "\r\n") val parts = MultipartReader(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.17.md
## Changelog since v1.17.12 ## Changes by Kind ### Design - Prevent logging of docker config contents if file is malformed ([#95348](https://github.com/kubernetes/kubernetes/pull/95348), [@sfowl](https://github.com/sfowl)) [SIG Auth and Node] ### Bug or Regression
Registered: Fri Sep 05 09:05:11 UTC 2025 - Last Modified: Thu Jan 28 10:44:33 UTC 2021 - 346.2K bytes - Viewed (1) -
src/main/java/jcifs/util/ServerResponseValidator.java
* * Features: * - Buffer bounds checking * - 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
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/main/java/jcifs/smb/SmbFileInputStream.java
* * @param url the SMB URL to read from * @param tc * context to use * @throws SmbException if an SMB error occurs * @throws MalformedURLException if the URL is malformed */ @SuppressWarnings("resource") public SmbFileInputStream(final String url, final CIFSContext tc) throws SmbException, MalformedURLException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
``` * Fix: Don't miss cancels when sending HTTP/2 request headers. * Fix: Don't miss whole operation timeouts when calls redirect. * Fix: Don't leak connections if web sockets have malformed responses or if `onOpen()` throws. * Fix: Don't retry when request bodies fail due to `FileNotFoundException`. * Fix: Don't crash when URLs have IPv4-mapped IPv6 addresses.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
cmd/iam.go
// Verify if the parent claim matches the parentUser. p, ok := args.Claims[parentClaim] if ok { parentInClaim, ok := p.(string) if !ok { // Reject malformed/malicious requests. return false } // The parent claim in the session token should be equal // to the parent detected in the backend if parentInClaim != parentUser { return false }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 75.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
assertEquals(1, notifications.size()); assertEquals(unicodeName, notifications.get(0).getFileName()); } @Test @DisplayName("Should handle malformed next entry offset") void testMalformedNextEntryOffset() throws Exception { // Given - notification with invalid next entry offset byte[] buffer = new byte[512]; int offset = 0;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0)