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

OPA-01-004: Bundle read should limit size of gzip buffer #920

Closed
tsandall opened this issue Aug 30, 2018 · 0 comments
Closed

OPA-01-004: Bundle read should limit size of gzip buffer #920

tsandall opened this issue Aug 30, 2018 · 0 comments
Assignees

Comments

@tsandall
Copy link
Member

The bundle reader does not put a limit on the size of the gzip buffer used to read bundles. We can put an upper limit on the read operation like 1GB to prevent OPA from consuming all available memory.

@tsandall tsandall self-assigned this Sep 4, 2018
tsandall added a commit to tsandall/opa that referenced this issue Sep 4, 2018
This was tested manually.

Fixes open-policy-agent#920

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
tsandall added a commit that referenced this issue Sep 4, 2018
This was tested manually.

Fixes #920

Signed-off-by: Torin Sandall <torinsandall@gmail.com>
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