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

Opening file:///dev/zero results in memory getting eaten up #641

Open
MistressRemilia opened this issue Dec 2, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@MistressRemilia
Copy link

I accidentally opened file:///dev/zero the other day and found my memory was totally eaten at very high speed, causing Lagrange to totally lock and requiring me to killall -s9 lagrange in a terminal. Maybe a few rules for special files should be in place to keep from opening them by accident?

@skyjake skyjake added the enhancement New feature or request label Dec 2, 2023
@skyjake
Copy link
Owner

skyjake commented Dec 2, 2023

Yes, some of these special files like /dev/zero should be treated as a special case. There could also be some limit on the maximum viewable file size.

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

2 participants