lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

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

Open MistressRemilia opened this issue 1 year ago • 1 comments

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?

MistressRemilia avatar Dec 02 '23 00:12 MistressRemilia

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.

skyjake avatar Dec 02 '23 06:12 skyjake