Skip to content
Snippets Groups Projects
Commit a64f6b43 authored by Martin Stjernholm's avatar Martin Stjernholm
Browse files

Fixed proper error recovery in the RECUR opcodes where the pike_frame is

changed destructively.

Test case: The following program should loop infinitely and not segfault
when the stack is eaten (running with -d necessary).

int main()
{
  int i = 5;
  catch(main());
  return main() + i;
}

Rev: src/interpret.c:1.180
Rev: src/interpret_functions.h:1.38
Rev: src/interpreter.h:1.54
parent 272e91f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment