mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 510040 - Fix JS debugger crash on 64-bit: don't truncate PC to jsuint in jsds_FilterHook. r=timeless
This caused Firefox to segfault in 64-bit builds when starting up with the Chromebug extension loaded.
This commit is contained in:
parent
55da0c95da
commit
adf94907af
@ -376,7 +376,7 @@ jsds_FilterHook (JSDContext *jsdc, JSDThreadState *state)
|
||||
if (!script)
|
||||
return PR_TRUE;
|
||||
|
||||
jsuint pc = JSD_GetPCForStackFrame (jsdc, state, frame);
|
||||
jsuword pc = JSD_GetPCForStackFrame (jsdc, state, frame);
|
||||
|
||||
nsDependentCString url(JSD_GetScriptFilename (jsdc, script));
|
||||
if (url.IsEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user