Subject: bug#73337: 29.4; missing dynamic type checking in network-lookup-address-info

From: Robert Pluim <[email-masked]>
Date: Thu, 19 Sep 2024 09:54:35 +0200

tags 73337 fixed
close 73337 30.1
quit

>>>>> On Wed, 18 Sep 2024 19:05:59 +0300, Eli Zaretskii <[email-masked]> said:

    >> From: Robert Pluim <[email-masked]>
    >> Cc: [email-masked], Eli Zaretskii <[email-masked]>
    >> Date: Wed, 18 Sep 2024 17:19:03 +0200
    >> 
    >> >>>>> On Wed, 18 Sep 2024 10:07:25 -0500, Jonathan Mitchell <[email-masked]> 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?

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

Closing.
Committed as 300d05ecb4c

Robert
--