GNU bug report logs - #64678
28.2; dns.el: dns-read won't detect DNS packets with TC bit set

Previous Next

Package: emacs;

Reported by: Marc van der Wal <marc+emacs <at> van-der-wal.fr>

Date: Mon, 17 Jul 2023 07:51:03 UTC

Severity: normal

Tags: fixed

Found in version 28.2

Fixed in version 30.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: Marc van der Wal <marc+emacs <at> van-der-wal.fr>
Cc: 64678 <at> debbugs.gnu.org
Subject: bug#64678: 28.2; dns.el: dns-read won't detect DNS packets with TC bit set
Date: Mon, 17 Jul 2023 10:51:31 +0200
>>>>> On Sun, 16 Jul 2023 20:58:03 +0200, Marc van der Wal <marc+emacs <at> 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"?

Robert
-- 




This bug report was last modified 2 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.