Bug 980450 - Always initialize outparams in LookupOwnPropertyWithFlagsInline, r=luke.
This commit is contained in:
@@ -4007,6 +4007,9 @@ LookupOwnPropertyWithFlagsInline(ExclusiveContext *cx,
|
||||
if (index < obj->template as<TypedArrayObject>().length()) {
|
||||
objp.set(obj);
|
||||
MarkDenseOrTypedArrayElementFound<allowGC>(propp);
|
||||
} else {
|
||||
objp.set(nullptr);
|
||||
propp.set(nullptr);
|
||||
}
|
||||
*donep = true;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user