realXtend/naali — Issue #341: QtScript code can cause Tundra main process to exit().
Author: juj
Created: 2012-02-02 12:43:43+00:00
State: open
Labels: Security

Executing the script file shown in the ConTEXT editor window in

http://dl.dropbox.com/u/40949268/Tundra/qtscript_exit.png

results in qtscript generator executing a qFatal() log message, which ends up in

http://dl.dropbox.com/u/40949268/Tundra/qtscript_exit2.png

calling exit() for the whole process in qglobal.cpp.

Script execution should be safe in a sandbox, and should not be allowed to crash the client.