Received: by mail.netbsd.org (Postfix, from userid 605) id C295684E2C; Mon, 15 Apr 2019 20:51:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 44A9584E2B for ; Mon, 15 Apr 2019 20:51:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id G-91pDLM-yTA for ; Mon, 15 Apr 2019 20:51:46 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id DF61784E27 for ; Mon, 15 Apr 2019 20:51:46 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D130AFB16; Mon, 15 Apr 2019 20:51:46 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Mon, 15 Apr 2019 16:51:46 -0400 From: "Christos Zoulas" Subject: CVS commit: src/sys/net To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20190415205146.D130AFB16@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: christos Date: Mon Apr 15 20:51:46 UTC 2019 Modified Files: src/sys/net: if.c Log Message: Zero out the ifreq struct for SIOCGIFCONF to avoid up to 127 bytes of stack disclosure. From Andy Nguyen, many thanks! To generate a diff of this commit: cvs rdiff -u -r1.448 -r1.449 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.