We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7ef97 commit a1904afCopy full SHA for a1904af
cbor/src/test/java/com/fasterxml/jackson/dataformat/cbor/failing/Fuzz_35979_StringValueTest.java
@@ -14,6 +14,11 @@ public class Fuzz_35979_StringValueTest extends CBORTestBase
14
15
// [dataformats-binary#316]
16
// https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35979
17
+ //
18
+ // Problem is decoding of a 256 byte malformed String, last byte of
19
+ // which indicates multi-byte UTF-8 character; decoder does not verify
20
+ // there are more bytes available. If at end of buffer, hits ArrayIndex;
21
+ // otherwise would return corrupt character with data past content end
22
public void testInvalidTextValueWithBrokenUTF8() throws Exception
23
{
24
final byte[] input = readResource("/data/clusterfuzz-cbor-35979.cbor");
0 commit comments