From nobody Sun Aug 16 20:25:20 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hNSBn0d29z6pYvL for ; Sun, 16 Aug 2026 20:25:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hNSBm4lpZz3whK for ; Sun, 16 Aug 2026 20:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786911920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0ApsqG8I2F9M6FMQtCp3sbPxElveYfCDPJcN2o2TiUo=; b=WDBbCR93IdC2NqMLKPR8huhPXMebIDXTjEPAc1U6ADGIs5TrVqR6eRSjghLjvr6zcsxa4S ISSaJbOtnEpxjhZm3bmNjhkbVh71x2rPtkdNOc/vfyyMby7vwpqnmSgOck23AE5EeAX2PV /s50SK+ipwTOOtjf3RuzqSHwpDNOuRaayK6BdcZ0bPqaxcOm7MV1cozBou8hySDXF6UyBD Lw7QB8O1NJ+6IjGfScRVaTRFCdc0aBTDY739DAR/RGLBqbxcwaOgrXOeLGTXPEr72Wucvz SGLZpCAGJBEdPDyXKDBRny7hgHaPWYbssBHvast9+4JNJ16PrI/FvwEUqqnwMQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786911920; a=rsa-sha256; cv=none; b=vR2bqlw0Cb23OMoB7LrFOViXOiMCY3+7AICcbk5QenZHkrqjJ11F37ud7HTkY1b085zPsD SbwdDH76yc2Hb2VgvNCEcjfKQhTej2lOLoMNFtvonEk/1/xMVkrQZXhsUj7xwo8rmGuix3 jDifWdXBuzEWwPWFviO1heeux4XI0Nezh1w+xDcekZ6xhJRgHcFaOa0tsMwZwXs9BqsIpK ht4/km8MfoVwBErJkZ/zqcsySnHUnpzFlTbFYv+JNSvVZktzpRPakKUgHZ0XuSG4SbTZ0I x++OQa38JZEwA0R0v/qFfoPwu7DAd0ZNTfCmfpd6arZh9JY0snVZ/F+L92YWgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786911920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=0ApsqG8I2F9M6FMQtCp3sbPxElveYfCDPJcN2o2TiUo=; b=uywD2qIT6V3pI33RU1HghTO4Vy0S7S2O2IToNcaHK4tqeRfVdhG+ftnsjWFa2xuEgoGLFz JCOHkpOfLQoxQ7cu1B/5lgUMgVx2jbyMl+2Aa36v9sP/aH4wNXSoJS7YY0FIYSTgWnneOu BU8z+zuGbmdmCJWoQDwGLqX8Sxl9A3eyAqn96tulOw3WpW902jZ5CXXuqZGeDDfwsFPF81 /FXGd1CvByp74Wbbdd4Jxh7eZD5lJTZ48P6Ocrn4bk0x/iSAR7EkGf/03vgX5bm+z/6zSB XF56Ww2ctCKv5zOqG7CONIyk0trh4Zr4BO0gvm+lzcjl636/RVHr8kp2qJCvDA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hNSBm39QzzkD2 for ; Sun, 16 Aug 2026 20:25:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 46515 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 16 Aug 2026 20:25:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling=?utf-8?Q? Sm=C3=B8rg?=rav Subject: git: fffd648a220d - stable/14 - libifconfig: Fix table size List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: fffd648a220d0453a9e3a3476980f8cc57cf329a Auto-Submitted: auto-generated Date: Sun, 16 Aug 2026 20:25:20 +0000 Message-Id: <6a821cb0.46515.7aec2b5b@gitrepo.freebsd.org> The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=fffd648a220d0453a9e3a3476980f8cc57cf329a commit fffd648a220d0453a9e3a3476980f8cc57cf329a Author: Dag-Erling Smørgrav AuthorDate: 2026-08-13 21:45:58 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2026-08-16 20:25:00 +0000 libifconfig: Fix table size Tables that have one element per protocol or address family were previously sized by AF_MAX + 1 since AF_MAX was off by one. Now that AF_MAX has been corrected, we need to apply the opposite correction to these tables. Fixes: ddd850aa7720 ("sys/socket.h: Fix AF_MAX") MFC after: 3 days Sponsored by: Klara, Inc. Sponsored by: NetApp, Inc. Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D58827 (cherry picked from commit 79a6ad63e6afdfa00d0e625996bddf91e9f217c3) --- lib/libifconfig/libifconfig_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libifconfig/libifconfig_internal.h b/lib/libifconfig/libifconfig_internal.h index 910e90df7d31..64b474db675b 100644 --- a/lib/libifconfig/libifconfig_internal.h +++ b/lib/libifconfig/libifconfig_internal.h @@ -49,7 +49,7 @@ struct errstate { struct ifconfig_handle { struct errstate error; - int sockets[AF_MAX + 1]; + int sockets[AF_MAX]; /** Cached output of getifaddrs */ struct ifaddrs *ifap; };