зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1597211 - Do not cast IPC message size to signed int. r=jld
Differential Revision: https://phabricator.services.mozilla.com/D53793 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d4f9cf7271
Коммит
42816d8112
|
@ -147,7 +147,7 @@ void ProcessLink::SendMessage(Message* msg) {
|
|||
nsDependentCString(msg->name()));
|
||||
CrashReporter::AnnotateCrashReport(
|
||||
CrashReporter::Annotation::IPCMessageSize,
|
||||
static_cast<int>(msg->size()));
|
||||
static_cast<unsigned int>(msg->size()));
|
||||
MOZ_CRASH("IPC message size is too large");
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче