зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1451859 - Part 3: In FUZZER builds, do not crash on malfored IPC messages. r=jld, r=posidron
This commit is contained in:
Родитель
76b53de450
Коммит
c9f96864de
|
@ -1560,8 +1560,10 @@ ContentParent::ProcessingError(Result aCode, const char* aReason)
|
|||
if (MsgDropped == aCode) {
|
||||
return;
|
||||
}
|
||||
#ifndef FUZZING
|
||||
// Other errors are big deals.
|
||||
KillHard(aReason);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* static */
|
||||
|
|
|
@ -311,7 +311,9 @@ LogicError(const char* aMsg)
|
|||
void
|
||||
ActorIdReadError(const char* aActorDescription)
|
||||
{
|
||||
#ifndef FUZZING
|
||||
MOZ_CRASH_UNSAFE_PRINTF("Error deserializing id for %s", aActorDescription);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче