Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SnakeYml 2.0 incompatibility #21

Open
vicctor opened this issue Mar 28, 2023 · 0 comments
Open

SnakeYml 2.0 incompatibility #21

vicctor opened this issue Mar 28, 2023 · 0 comments

Comments

@vicctor
Copy link

vicctor commented Mar 28, 2023

Because SnakeYaml due to https://www.cve.org/CVERecord?id=CVE-2022-1471 has been updated and in version 2.0 does not support class Constructor with an empty constructor, it's not possible to update SnakeYaml to 2.0 version.
Trying to update SnakeYaml in a project using emv library results with error:

Exception in thread "main" java.lang.NoSuchMethodError: org.yaml.snakeyaml.constructor.Constructor: method 'void <init>()' not found
	at io.github.binaryfoo.TagMetaData$Companion.load(TagMetaData.kt:70)
	at io.github.binaryfoo.TagMetaData.load(TagMetaData.kt)
	at io.github.binaryfoo.EmvTags.<clinit>(EmvTags.java:9)
	at org.test.EmvTagsChecker.main(EmvTagsChecker.java:8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant