mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Don't check newly pushed StackSegments in StackSpace::containingSegment, bug 649477.
This commit is contained in:
parent
fc65b95530
commit
d8c95f63d9
@ -2050,7 +2050,7 @@ StackSegment *
|
||||
StackSpace::containingSegment(const JSStackFrame *target)
|
||||
{
|
||||
for (StackSegment *seg = currentSegment; seg; seg = seg->getPreviousInMemory()) {
|
||||
if (seg->contains(target))
|
||||
if (seg->inContext() && seg->contains(target))
|
||||
return seg;
|
||||
}
|
||||
JS_NOT_REACHED("frame not in stack space");
|
||||
|
Loading…
Reference in New Issue
Block a user