From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#73337: 29.4; missing dynamic type checking in network-lookup-address-info Date: Thu, 19 Sep 2024 09:54:35 +0200 Message-ID: <87msk4hydg.fsf@gmail.com> References: <87r09hhtw8.fsf@gmail.com> <86msk59cbc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33982"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73337@debbugs.gnu.org, mitchell.jkyle@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 19 09:57:11 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 1srC2J-0008c3-A8 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Sep 2024 09:57:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srC1v-0005x1-1k; Thu, 19 Sep 2024 03:56:47 -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 1srC1t-0005vQ-4o for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 03:56:45 -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 1srC1s-0004Dw-S3 for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 03:56:44 -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:Date:References:In-Reply-To:From:To:Subject; bh=KHBW5NHu5GeLFWsd0R0nUUnRD5IMIb4e4al+7K7k+4o=; b=nQt/JbEC8jVlFB3rov1LTYAaMopFek53dSNhI7p/afGNtcpaWVLJmjtyW+dq/b78ZKzF3H6a6cPTvw2WPdmCAY/luJ3CMAMl/V1KUcBS7KyoutN428LPUEuMBJXcIpt72Sh7Rcro9iO1/twfu3L0QpTZvYWP6oj7CFkfRJcB6UFkky3MlsR6sPQtsHuSwXqq6epic7eksfGbsN2VJVycz8TQueycYYUgOknJpEqWU/m4duoxqTlF1tAKvZsaR1g/BxduZZy0xSE1TqCMkTqfOM9DizYBc+X+P4TFpeNYHZcfNwNVMl3LlL64IeIz6qT/l14BIpMydQxRI1EVwuRlZA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srC29-00067B-VC for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2024 03:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Sep 2024 07:57:01 +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.172673256423414 (code B ref 73337); Thu, 19 Sep 2024 07:57:01 +0000 Original-Received: (at 73337) by debbugs.gnu.org; 19 Sep 2024 07:56:04 +0000 Original-Received: from localhost ([127.0.0.1]:59758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srC1D-00065V-Q0 for submit@debbugs.gnu.org; Thu, 19 Sep 2024 03:56:04 -0400 Original-Received: from mail-lj1-f179.google.com ([209.85.208.179]:54683) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srC1B-00064r-04; Thu, 19 Sep 2024 03:56:01 -0400 Original-Received: by mail-lj1-f179.google.com with SMTP id 38308e7fff4ca-2f75e5f3debso4763381fa.1; Thu, 19 Sep 2024 00:55:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726732477; x=1727337277; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=KHBW5NHu5GeLFWsd0R0nUUnRD5IMIb4e4al+7K7k+4o=; b=KrZP5Uca1bN6lvwJffeAxdbgYSESYwoRHjf3+o6logGEEaAQYiOkiFQ1eLe2ZI8DFQ uAoN13mL+9werouoHGcgwjAZbgBStgvPypNaOPnkiHxRSUzlqs2paatFrpgQTyVhdXVV xI+wzW9iTTjjjts0HRsxGxjg4/VR3VHdQU1o/BjjF7lr7qKhm5SiiUTWFRQQ9YuR6JTF HFO/63Tsw80ivK3bWkrNHU8WlFiTDhiP4ZsRtKrUAzmJd7L9ThNC2k6M8AGsI48M6QPV /80xUXYsg1NMw1zr83PAKwCRm9XK/olI+oKYD61lUm8E/n0qo+h4JFQNSxDWdMxlaNaD HJEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726732477; x=1727337277; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KHBW5NHu5GeLFWsd0R0nUUnRD5IMIb4e4al+7K7k+4o=; b=wNpvTNd1GbESbjRLnH6j5Kooi0qwYSLuTOkmiwQHwvvpmiVEeK//XfrXRRX/n001gM dHuC8G86a+fMZ7D9ZvRnCHMZR1uCnE6BlCwJtJOW9pgD/w5kKSr5q4TW3dys0RVSfNp2 V9lqGhih1rQrzu4CkQYuEy5dPR5+u4rQ996WAXSZhZvZUgmh4ibwUswmAYdPTYg3GHCH x/3hzUhg8Kyin/gOrY8528mTCUXJtqmvoY2eLNNtvH1dawDP13co0H5IZ+E+Gpx4VZEC PUzswqAaygIMoVl3BqfkMg3TRAdJ6oj2Kq1Ht1aER2pwF38sn/+T0A6kMwMZCx0cIFz7 e4fg== X-Forwarded-Encrypted: i=1; AJvYcCUbHRtb8IztFSWwekkOvJ/TA26+F6LrN7YPaxybOVA0xHLVNbCOZqx9nqZr4hNV60bAi0tOyw==@debbugs.gnu.org, AJvYcCUtRr4AnftJvOi31aQ0MFBcv7ojcJD/7wqSCo2wmemnMCwVOzjDIi0OX7DGAVKuY3nDMpo0rNDaog==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwVzeL0HrD/+vfd4U5HibWex5JpIn0B8HoP1yWdKqsz6NAsiQvz 9hKHMod2AWnNvPt9ViVdSjYEx7DUudxc4KMJoJV4w3fFaTonsBU2wNjX1A== X-Google-Smtp-Source: AGHT+IErMj/DwYxqy3gd4W1wa26RF5YKllrMOwLhqQbRoNQ7c5wjEakSW+LFzqyqQhu/16iF1KM6/Q== X-Received: by 2002:a2e:be0f:0:b0:2f7:4cf1:d6b1 with SMTP id 38308e7fff4ca-2f7918e20fbmr110384501fa.1.1726732476840; Thu, 19 Sep 2024 00:54:36 -0700 (PDT) Original-Received: from rltb ([2a01:e0a:3f3:fb51:a069:79f4:e159:b9b3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378e7800308sm14349811f8f.87.2024.09.19.00.54.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2024 00:54:36 -0700 (PDT) In-Reply-To: <86msk59cbc.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Sep 2024 19:05:59 +0300") 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:292035 Archived-At: tags 73337 fixed close 73337 30.1 quit >>>>> On Wed, 18 Sep 2024 19:05:59 +0300, Eli Zaretskii said: >> From: Robert Pluim >> Cc: 73337@debbugs.gnu.org, Eli Zaretskii >> Date: Wed, 18 Sep 2024 17:19:03 +0200 >>=20 >> >>>>> On Wed, 18 Sep 2024 10:07:25 -0500, Jonathan Mitchell said: >>=20 Jonathan> There is no dynamic type checking of the =E2=80=98name=E2=80= =99 argument in Jonathan> =E2=80=98network-lookup-address-info=E2=80=99, thus causing a= crash instead of signaling Jonathan> a wrong-type-argument error when called with non-string value= s like Jonathan> =E2=80=98(network-lookup-address-info 1)=E2=80=99 or =E2=80= =98(network-lookup-address-info =E2=80=99a)=E2=80=99. >>=20 >> 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 --=20