mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-15 21:36:20 +00:00
Fixing uninitialized v bug in InitExnPrivate (385393 followup, r=waldo).
This commit is contained in:
parent
2373e79869
commit
5069dab5e9
@ -274,12 +274,11 @@ InitExnPrivate(JSContext *cx, JSObject *exnObject, JSString *message,
|
||||
stackDepth = 0;
|
||||
valueCount = 0;
|
||||
for (fp = cx->fp; fp; fp = fp->down) {
|
||||
if (fp->fun) {
|
||||
if (checkAccess) {
|
||||
if (!checkAccess(cx, fp->callee, callerid, JSACC_READ,
|
||||
&v /* ignored */)) {
|
||||
break;
|
||||
}
|
||||
if (fp->fun && fp->argv) {
|
||||
v = JSVAL_NULL;
|
||||
if (checkAccess &&
|
||||
!checkAccess(cx, fp->callee, callerid, JSACC_READ, &v)) {
|
||||
break;
|
||||
}
|
||||
valueCount += fp->argc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user