# Critical Patch #2 for LambdaMOO release 1.8.0beta1

Pavel Curtis (pavel@parc.xerox.com)
Fri, 9 Feb 1996 14:43:07 PST

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    This patch fixes a potential server panic on `kill_task(task_id())'.  In
    execute.c, in the function run_interpreter(), change these lines:

        handler_verb_args = zero;
        interpreter_is_running = 1;
        ret = run(e, result);
        interpreter_is_running = 0;
        task_timed_out = 0;
        cancel_timer(task_alarm_id);

        if (ret == OUTCOME_ABORTED) {

    to these:

        handler_verb_args = zero;
        handler_verb_name = 0;
        interpreter_is_running = 1;
        ret = run(e, result);
        interpreter_is_running = 0;
        task_timed_out = 0;
        cancel_timer(task_alarm_id);

        if (ret == OUTCOME_ABORTED  &&  handler_verb_name) {

    That should fix the problem.

    	Pavel