From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#73337: 29.4; missing dynamic type checking in network-lookup-address-info Date: Wed, 18 Sep 2024 19:05:59 +0300 Message-ID: <86msk59cbc.fsf@gnu.org> References: <87r09hhtw8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11121"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73337@debbugs.gnu.org, mitchell.jkyle@gmail.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 18 18:07:03 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sqxCo-0002iM-OD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Sep 2024 18:07:02 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqxCb-0008R5-5T; Wed, 18 Sep 2024 12:06:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqxCZ-0008Qt-FH for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2024 12:06:47 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqxCZ-0002ao-6P for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2024 12:06:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=rQfOitJbpyCZ4WP40DPD5lH/IIhIx8Kr55RXeJje2Ys=; b=YRjNTGjd6pwQL6/gGCQzBnkttKIVcQzDwGkC3IRYuFi4rxY/edCl0Y/nDxrPH4uPUQPF+Ph0EDcbk7+QAYBPAm+3Zh4CDbLVD7aEEtWm6uS84mm8/5itbDJVfSccU1D9DjkZysoyf0sMw/lAekSTnfNFa1FY/gcKSeMy8ZhyIo457E+wBaYzzBkxCrG0WGR1R+Kx8QBp4il0pzamrJrKy4GeraN/K3oJhSFOS8wRxHdfbFf/ZLyCN0ClBZWvI70WNSpQs/Y+CN6iZ6rRF++LnuAaH/5ruT9bRnCr8l/Ub8K9oCn2lED2dmvMQ9/R7wqfyo76WxWLnFgwAuHaQfOweQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqxCo-0005BZ-FE for bug-gnu-emacs@gnu.org; Wed, 18 Sep 2024 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Sep 2024 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73337 X-GNU-PR-Package: emacs Original-Received: via spool by 73337-submit@debbugs.gnu.org id=B73337.172667560119902 (code B ref 73337); Wed, 18 Sep 2024 16:07:02 +0000 Original-Received: (at 73337) by debbugs.gnu.org; 18 Sep 2024 16:06:41 +0000 Original-Received: from localhost ([127.0.0.1]:59181 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqxCS-0005Av-Ih for submit@debbugs.gnu.org; Wed, 18 Sep 2024 12:06:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqxCP-0005Ad-8i for 73337@debbugs.gnu.org; Wed, 18 Sep 2024 12:06:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqxC3-0002P9-7y; Wed, 18 Sep 2024 12:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=rQfOitJbpyCZ4WP40DPD5lH/IIhIx8Kr55RXeJje2Ys=; b=DI9tndLGVfB1kYwFPVJO /0zLJSTMD5k8mACTnUHq6lDHrri4dknoV3hPiP7fsbAcoK95n61in0CCm38vh7EHncMEXRCxs99IB eJT79J4aGOoXcPib4S9Q9+eS+r/rTZCpYYpiwb/IPzenE3Z3iKDtpQFaH1SCkQ8Nb91L0gqTRUd+p BZWL1cZ/CUnNfR6IzIrzuFHMUsZEJXOnuM8/s/cwqpUtDMNp0j5WVvMMGOyyWO/5Be99niCg4G+V3 qk4kgIberYNwFTRR/4qut7uYRO9y+8kzS+QwQYArTgVIeX/CKXbnHFJbeCP3O0ft9+4NoTDxQzbQ4 7CO2AR1pRwVqlw==; In-Reply-To: <87r09hhtw8.fsf@gmail.com> (message from Robert Pluim on Wed, 18 Sep 2024 17:19:03 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:292011 Archived-At: > From: Robert Pluim > Cc: 73337@debbugs.gnu.org, Eli Zaretskii > Date: Wed, 18 Sep 2024 17:19:03 +0200 > > >>>>> On Wed, 18 Sep 2024 10:07:25 -0500, Jonathan Mitchell 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.