зеркало из https://github.com/mozilla/gecko-dev.git
Potential fix to 50313
Initialize stack variable to NULL on suspicion that later possibly-unset use of it is causing crash.
This commit is contained in:
Родитель
832c3c92bb
Коммит
5c644e8fc3
|
@ -395,6 +395,7 @@ js_EnterSharpObject(JSContext *cx, JSObject *obj, JSIdArray **idap,
|
|||
char buf[20];
|
||||
size_t len;
|
||||
|
||||
*sp = NULL; /* Set to null in case we return an early error. */
|
||||
map = &cx->sharpObjectMap;
|
||||
table = map->table;
|
||||
if (!table) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче