]> git.mxchange.org Git - flightgear.git/commit
make fgfs abort() after a listener with runtime arg == -1 was triggered
authormfranz <mfranz>
Thu, 19 Jun 2008 10:39:12 +0000 (10:39 +0000)
committermfranz <mfranz>
Thu, 19 Jun 2008 10:39:12 +0000 (10:39 +0000)
commit37559fee214839d08633b73799bd7c60cec16b70
tree9b8c0a369804344cb59ef4f3f2bc91682f3d85dc
parent88839f0b7aba1242dc19f38927624d525ca50607
make fgfs abort() after a listener with runtime arg == -1 was triggered
and its function called. This is useful for debugging purposes, to get
a core dump which unveils which C++ code was writing to the property.
This isn't any more of a security problem as other Nasal code that
makes fgfs crash, such as:  var x = func call(x); x();  The difference
is that the listener doesn't use up all memory before and is much quicker.
src/Scripting/NasalSys.cxx