Skip to content

Conversation

@ronalchn
Copy link

It is possible for an isolated process to open the file descriptor corresponding to the metafile and write arbitrary data to it.

If a judge uses the metafile key/values to help decide correctness, it could get bad data - see https://github.com/ronalchn/isolate-cheater for a demonstration.

This does not fix where the metafile is redirected to another file descriptor, because the other file descriptor is not closed. That would require an option to close specified file descriptors on entering box_inside, and for care to be taken to use such an option.

@ronalchn
Copy link
Author

Added commits to pull request #3.

@ronalchn ronalchn closed this Nov 21, 2013
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

Successfully merging this pull request may close these issues.

1 participant