Uncaught ClassCastException [OSS-Fuzz 47023]
Issue #528
invalid
This crash occurs often during fuzzing. If you do not consider this to be a bug, please let me know and I can modify the fuzz target to handle this type of exception.
Uncaught exception in org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlStr.construct
Stacktrace and crashing input attached.
Comments (2)
-
-
- changed status to invalid
- Log in to comment
This is not an issue. SnakeYAML properly complains when a sequence is tagged with a scalar tag (!!str):
== Java Exception: java.lang.ClassCastException: class org.yaml.snakeyaml.nodes.SequenceNode cannot be cast to class org.yaml.snakeyaml.nodes.ScalarNode (org.yaml.snakeyaml.nodes.SequenceNode and org.yaml.snakeyaml.nodes.ScalarNode are in unnamed module of loader 'app')