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.
2 parents 477c851 + a1904af commit 3f7a994Copy full SHA for 3f7a994
cbor/src/test/java/tools/jackson/dataformat/cbor/failing/Fuzz_35979_StringValueTest.java
@@ -13,6 +13,11 @@ public class Fuzz_35979_StringValueTest extends CBORTestBase
13
14
// [dataformats-binary#316]
15
// https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=35979
16
+ //
17
+ // Problem is decoding of a 256 byte malformed String, last byte of
18
+ // which indicates multi-byte UTF-8 character; decoder does not verify
19
+ // there are more bytes available. If at end of buffer, hits ArrayIndex;
20
+ // otherwise would return corrupt character with data past content end
21
public void testInvalidTextValueWithBrokenUTF8() throws Exception
22
{
23
final byte[] input = readResource("/data/clusterfuzz-cbor-35979.cbor");
0 commit comments