зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1610426 - Discard unknown crash annotations r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60498 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
da3402759d
Коммит
31ac6aaa14
|
@ -207,6 +207,10 @@ void CrashReporterMetadataShmem::ReadAppNotes(const Shmem& aShmem,
|
|||
return;
|
||||
}
|
||||
|
||||
if (key >= Annotation::Count) {
|
||||
return;
|
||||
}
|
||||
|
||||
aNotes[key] = value;
|
||||
break;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче