mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 756864 - Decrease MAX_FRAMES in XPCJSStackFrame::CreateStack (r=bhackett)
This commit is contained in:
parent
2566d2e820
commit
6a04bcb53c
@ -97,7 +97,7 @@ nsresult
|
||||
XPCJSStackFrame::CreateStack(JSContext* cx, JSStackFrame* fp,
|
||||
XPCJSStackFrame** stack)
|
||||
{
|
||||
static const unsigned MAX_FRAMES = 3000;
|
||||
static const unsigned MAX_FRAMES = 100;
|
||||
unsigned numFrames = 0;
|
||||
|
||||
nsRefPtr<XPCJSStackFrame> first = new XPCJSStackFrame();
|
||||
|
Loading…
Reference in New Issue
Block a user