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

Disk quota not enabled for isolate #1

Open
Giantpizzahead opened this issue Aug 10, 2020 · 0 comments
Open

Disk quota not enabled for isolate #1

Giantpizzahead opened this issue Aug 10, 2020 · 0 comments
Labels
low-priority Low priority

Comments

@Giantpizzahead
Copy link
Owner

Describe the bug
Disk quota is not enabled for isolate, only fsize is. That means that you could bypass the max file size limit by creating tons of small files, overloading the system.

To Reproduce

  1. Write code that creates a whole bunch of small files
  2. Submit it to JudgeLite
  3. Make JudgeLite hang (if the target system doesn't have enough storage space)

Expected behavior
JudgeLite should not hang (ideally, disk quota should be enabled).

Additional context
This isn't too important of an issue to fix, since no one would do this by accident. Plus, who would even think to try this?
However, it's important enough to leave this note here, in case someone does know how to fix this. I don't remember why we disabled disk quota, but there's probably a reason. Oh well.

@Giantpizzahead Giantpizzahead added help wanted Extra attention is needed low-priority Low priority and removed help wanted Extra attention is needed labels Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
low-priority Low priority
Projects
None yet
Development

No branches or pull requests

1 participant