Fwd: [melpon/wandbox] Code execution makes compilation inaccessible by other users (#277)

6 views
Skip to first unread message

Matt Godbolt

unread,
Jul 4, 2019, 1:19:53 PM7/4/19
to compiler-explo...@googlegroups.com
Worth checking....

---------- Forwarded message ---------
From: croessmah <notifi...@github.com>
Date: Thu, Jul 4, 2019, 13:16
Subject: [melpon/wandbox] Code execution makes compilation inaccessible by other users (#277)
To: melpon/wandbox <wan...@noreply.github.com>
Cc: Subscribed <subsc...@noreply.github.com>


#include <stdlib.h>

int main(int argc, char* argv[])
{
    while(1)
        system(argv[0]);
}

All users receive an error "Resource temporarily unavailable" while executing this code.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Rubén Rincón Blanco

unread,
Jul 5, 2019, 5:23:18 AM7/5/19
to Compiler Explorer Development
We kill the process with a "Processing time exceeded" message and compilations are still available, as tested on beta just now :)

Matt Godbolt

unread,
Apr 29, 2020, 8:45:57 AM4/29/20
to compiler-explo...@googlegroups.com
Just to round this out, melpon fixed with: https://github.com/melpon/wandbox/pull/304/files

--
You received this message because you are subscribed to the Google Groups "Compiler Explorer Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to compiler-explorer-de...@googlegroups.com.
To post to this group, send email to compiler-explo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/compiler-explorer-development/fbb0eeac-e7ae-480c-ac5a-474ff038bb5e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Matt
Reply all
Reply to author
Forward
0 new messages