Skip to content

Commit

Permalink
Fixup debugger null ref
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Nov 21, 2019
1 parent 50ad60b commit a3e0ef0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -50598,6 +50598,8 @@ static JSValue js_debugger_find_closure_var(JSStackFrame *sf, JSClosureVar *cvar
return sf->var_buf[cvar->var_idx];
}

if (!b->closure_var)
break;
cvar = b->closure_var + cvar->var_idx;
}

Expand Down

0 comments on commit a3e0ef0

Please sign in to comment.