GNU bug report logs - #73337
29.4; missing dynamic type checking in network-lookup-address-info

Previous Next

Package: emacs;

Reported by: Jonathan Mitchell <mitchell.jkyle <at> gmail.com>

Date: Wed, 18 Sep 2024 15:09:02 UTC

Severity: normal

Tags: fixed

Found in version 29.4

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: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 73337 <at> debbugs.gnu.org, mitchell.jkyle <at> gmail.com
Subject: bug#73337: 29.4; missing dynamic type checking in network-lookup-address-info
Date: Wed, 18 Sep 2024 19:05:59 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: 73337 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
> Date: Wed, 18 Sep 2024 17:19:03 +0200
> 
> >>>>> On Wed, 18 Sep 2024 10:07:25 -0500, Jonathan Mitchell <mitchell.jkyle <at> gmail.com> said:
> 
>     Jonathan> There is no dynamic type checking of the ‘name’ argument in
>     Jonathan> ‘network-lookup-address-info’, thus causing a crash instead of signaling
>     Jonathan> a wrong-type-argument error when called with non-string values like
>     Jonathan> ‘(network-lookup-address-info 1)’ or ‘(network-lookup-address-info ’a)’.
> 
> Yep. Eli, emacs-30?

Yes, okay, but please also say in the doc string that NAME must be a
string.

Thanks.




This bug report was last modified 323 days ago.

Previous Next


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