Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 5B4AC1A923A for ; Tue, 6 Oct 2020 22:04:11 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id C917284DC4; Tue, 6 Oct 2020 22:04:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 400DA84DC2 for ; Tue, 6 Oct 2020 22:04:10 +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 CeuJBkhrRnyW for ; Tue, 6 Oct 2020 22:04:09 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8DDDC84D29 for ; Tue, 6 Oct 2020 22:04:09 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 868D4FB28; Tue, 6 Oct 2020 22:04:09 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 6 Oct 2020 22:04:09 +0000 From: "Kamil Rytarowski" Subject: CVS commit: src/external/gpl3/gdb/dist/gdbsupport To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20201006220409.868D4FB28@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: "Kamil Rytarowski" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: kamil Date: Tue Oct 6 22:04:09 UTC 2020 Modified Files: src/external/gpl3/gdb/dist/gdbsupport: agent.cc Log Message: Replace local patch with fix from upstream Cherry-pick: >From e2a2a24a8e78427ff8667d625f5befbe88c328bb Mon Sep 17 00:00:00 2001 From: Kamil Rytarowski Date: Wed, 23 Sep 2020 04:20:05 +0200 Subject: [PATCH] Preinitialize the sockaddr_un variable to zero Don't pass random sun_len for the BSD's, zero the whole structure as recommended for portability. Reported by Coverity. gdbsupport/ChangeLog: * agent.cc (gdb_connect_sync_socket): Preinitialize addr with zeros. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdbsupport/agent.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.