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

YAML files restricted to nearly 3MB #60

Open
chbaeumer opened this issue May 17, 2023 · 1 comment
Open

YAML files restricted to nearly 3MB #60

chbaeumer opened this issue May 17, 2023 · 1 comment

Comments

@chbaeumer
Copy link

SnakeYaml introduced in version 1.32 a new property codePointLimit which is set to 3MB as default.
Now it is not possible to read spdx.yaml files which are larger than that limit.

The yamlFactory in the class MultiFormatStore has to be initialized with a bigger value.
The best would be do make this configurable from outside or during the initialization of the store.

@goneall
Copy link
Member

goneall commented May 17, 2023

@chbaeumer Thanks for the info - we should definitely increate the default.

We could make it configurable using a property with a default value.

A pull request would be welcome - it may be a couple weeks before I free up enough time to work on it myself.

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

2 participants