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

CVE cache size set to -1 when used in rest-backend #25

Closed
henrikplate opened this issue Oct 25, 2018 · 1 comment
Closed

CVE cache size set to -1 when used in rest-backend #25

henrikplate opened this issue Oct 25, 2018 · 1 comment

Comments

@henrikplate
Copy link
Contributor

Describe the bug
The generic cache class in module shared has a field max_size, which is - depending on the constructor used - initialized with -1. This is the case when the class is used in the scope of the rest-backend, and results in wrong behavior when cache entries are read (too many entries get deleted).

To Reproduce
Steps to reproduce the behavior: The wrong behavior (too many cache deletes) can be observed in the logs of the rest-backend.

Expected behavior
Do not impose a size limit if max_size==-1, use the provided size otherwise.

Vulas version

  • 3.x before 3.0.10
@henrikplate
Copy link
Contributor Author

Fixed with release 3.0.10

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