forked from mirrors/gecko-dev
Bug 1881584 - Disable additional IPC port security checks for fuzzing. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D202485
This commit is contained in:
parent
f23f4ed3ca
commit
30b777cfd9
1 changed files with 2 additions and 0 deletions
|
|
@ -516,6 +516,7 @@ int Node::AcceptEvent(const NodeName& from_node, ScopedEvent event) {
|
|||
return AcceptEventInternal(port_ref, from_node, std::move(event));
|
||||
}
|
||||
|
||||
#ifndef FUZZING_SNAPSHOT
|
||||
// Before processing the event, verify the sender and sequence number.
|
||||
{
|
||||
SinglePortLocker locker(&port_ref);
|
||||
|
|
@ -532,6 +533,7 @@ int Node::AcceptEvent(const NodeName& from_node, ScopedEvent event) {
|
|||
return OK;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
int ret = AcceptEventInternal(port_ref, from_node, std::move(event));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue