Firefox · Networking
CVE-2026-6777
Logic Error in Networking
Overview
Low
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Files Changed
netwerk/ipc/NeckoParent.cpp
Patch
diff --git a/netwerk/ipc/NeckoParent.cpp b/netwerk/ipc/NeckoParent.cpp
index 4ab04649693..39a07556300 100644
--- a/netwerk/ipc/NeckoParent.cpp
+++ b/netwerk/ipc/NeckoParent.cpp
@@ -548,6 +548,10 @@ mozilla::ipc::IPCResult NeckoParent::RecvPDNSRequestConstructor(
const nsACString& aTrrServer, const int32_t& aPort, const uint16_t& aType,
const OriginAttributes& aOriginAttributes,
const nsIDNSService::DNSFlags& aFlags) {
+ if (!aTrrServer.IsEmpty()) {
+ return IPC_FAIL(this, "Content process should not specify TRR server");
+ }
+
RefPtr<DNSRequestParent> actor = static_cast<DNSRequestParent*>(aActor);
RefPtr<DNSRequestHandler> handler =
actor->GetDNSRequest()->AsDNSRequestHandler();
Loading diff…
References
On This Page