Verified Commit 379ba586 authored by valenting's avatar valenting Committed by ma1
Browse files

Bug 2041001 - Drop intermediary HTTPS result when following alias a=RyanVM DONTBUILD

parent e479b581
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -639,6 +639,9 @@ nsresult DNSPacket::DecodeInternal(

  aCname.Truncate();

  // Reset any type record accumulated by a previous decode of this packet.
  aTypeResult = mozilla::AsVariant(Nothing());

  if (aLen < 12) {
    LOG(("TRR bad incoming DOH, eject!\n"));
    return NS_ERROR_ILLEGAL_VALUE;