File tree 4 files changed +13
-5
lines changed
src/test/java/com/fasterxml/jackson/dataformat/yaml/deser
4 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ Active Maintainers:
14
14
= == Releases == =
15
15
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
16
16
17
+ 2.15 .3 (not yet released )
18
+
19
+ #400 : (yaml ) `IllegalArgumentException ` when attempting to decode invalid UTF -8
20
+ surrogate by SnakeYAML (oss - fuzz 50431 )
21
+ #406 : (yaml) NumberFormatException from SnakeYAML due to int overflow for
22
+ corrupt YAML version
23
+ #426 : (yaml) Update to SnakeYAML 2.1
24
+
17
25
2.15 .2 (30 - May - 2023 )
18
26
19
27
No changes since 2.15 .1
Original file line number Diff line number Diff line change 34
34
<dependency >
35
35
<groupId >org.yaml</groupId >
36
36
<artifactId >snakeyaml</artifactId >
37
- <version >2.0 </version >
37
+ <version >2.1 </version >
38
38
</dependency >
39
39
40
40
<!-- and for testing need annotations; but should be available via `jackson-databind` above
Original file line number Diff line number Diff line change 1
- package com .fasterxml .jackson .dataformat .yaml .failing ;
1
+ package com .fasterxml .jackson .dataformat .yaml .deser ;
2
2
3
3
import com .fasterxml .jackson .core .exc .StreamReadException ;
4
4
import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -23,7 +23,7 @@ public void testUnicodeDecoding50431() throws Exception
23
23
} catch (StreamReadException e ) {
24
24
// Not sure what to verify, but should be exposed as one of Jackson's
25
25
// exceptions (or possibly IOException)
26
- verifyException (e , "Not a valid Unicode code point: 0xE30EEE " );
26
+ verifyException (e , "found unknown escape character E30EEE " );
27
27
}
28
28
}
29
29
}
Original file line number Diff line number Diff line change 1
- package com .fasterxml .jackson .dataformat .yaml .failing ;
1
+ package com .fasterxml .jackson .dataformat .yaml .deser ;
2
2
3
3
import com .fasterxml .jackson .core .exc .StreamReadException ;
4
4
import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -30,7 +30,7 @@ public void testVersionNumberParsing56902() throws Exception
30
30
} catch (StreamReadException e ) {
31
31
// Not sure what to verify, but should be exposed as one of Jackson's
32
32
// exceptions (or possibly IOException)
33
- verifyException (e , "Not a valid YAML version" );
33
+ verifyException (e , "found a number which cannot represent a valid version" );
34
34
}
35
35
}
36
36
}
You can’t perform that action at this time.
0 commit comments