Branch: Tag:

2019-11-11

2019-11-11 10:59:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Runtime: Updated frame handling in apply_low_safe_and_stupid().

Fixes NULL-dereferences in some (unusual) cases.

Fixes [LysLysKOM 23668234].

3227:    add_ref(new_frame->current_object = o);    add_ref(new_frame->current_program = prog);    new_frame->context = prog->inherits; -  new_frame->locals = Pike_sp; +  new_frame->locals = new_frame->save_sp = Pike_sp;    new_frame->args = 0;    new_frame->num_args=0;    new_frame->num_locals=0;