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


Message #11 received at 64678 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: marc+emacs <at> van-der-wal.fr, 64678 <at> debbugs.gnu.org
Subject: Re: 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 <at> debbugs.gnu.org
> From: Robert Pluim <rpluim <at> 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 <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"?

Yes, thanks.




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.