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:
Gabriele Svelto 2020-01-21 23:49:53 +00:00
Родитель da3402759d
Коммит 31ac6aaa14
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -207,6 +207,10 @@ void CrashReporterMetadataShmem::ReadAppNotes(const Shmem& aShmem,
return;
}
if (key >= Annotation::Count) {
return;
}
aNotes[key] = value;
break;
}