[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64678: 28.2; dns.el: dns-read won't detect DNS packets with TC bit s
From: |
Eli Zaretskii |
Subject: |
bug#64678: 28.2; dns.el: dns-read won't detect DNS packets with TC bit set |
Date: |
Mon, 17 Jul 2023 14:48:03 +0300 |
> Cc: 64678@debbugs.gnu.org
> From: Robert Pluim <rpluim@gmail.com>
> Date: Mon, 17 Jul 2023 10:51:31 +0200
>
> >>>>> On Sun, 16 Jul 2023 20:58:03 +0200, Marc van der Wal
> >>>>> <marc+emacs@van-der-wal.fr> said:
>
> Marc> Hello,
> Marc> Due to a typo in the code, the `dns-read' function masks the wrong
> bit
> Marc> when looking for the TC bit in the DNS packet header. This causes
> Marc> messages with the TC bit set to be returned with (truncated-p nil),
> Marc> and messages with the AA bit set to have (truncated-p t).
>
> Yep.
>
> Eli, I guess this is small enough to commit to master as
> "Copyright-paperwork-exempt: yes"?
Yes, thanks.