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

File context should not open large files #4892

Open
philippfromme opened this issue Mar 12, 2025 · 0 comments
Open

File context should not open large files #4892

philippfromme opened this issue Mar 12, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@philippfromme
Copy link
Contributor

Problem you would like to solve

The file context feature reads any file with a known extension (.bpmn, .dmn, .form, .process-application) without checking the file size. This could result in a crash if I rename my 1GB .exe to .bpmn.

Proposed solution

Check file size before reading file.

Alternatives considered

Do nothing. Consider it an edge case.

Additional context

Related to #4762.

@philippfromme philippfromme added the enhancement New feature or request label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant