Received: by mail.netbsd.org (Postfix, from userid 605) id 4DFD784E1E; Tue, 8 Oct 2019 19:17:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C3E3A84E1D for ; Tue, 8 Oct 2019 19:17:57 +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 evvaSRgcEOmN for ; Tue, 8 Oct 2019 19:17:57 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 5F45484CEE for ; Tue, 8 Oct 2019 19:17:57 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 57C5DFBF4; Tue, 8 Oct 2019 19:17:57 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Tue, 8 Oct 2019 15:17:57 -0400 From: "Christos Zoulas" Subject: CVS commit: src/lib/libedit To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191008191757.57C5DFBF4@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: Tue Oct 8 19:17:57 UTC 2019 Modified Files: src/lib/libedit: filecomplete.c history.c readline.c Log Message: Change strncpy to either memcpy (when we know the len), or strlcpy (when we used to NUL terminate explicitly. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/lib/libedit/filecomplete.c cvs rdiff -u -r1.62 -r1.63 src/lib/libedit/history.c cvs rdiff -u -r1.157 -r1.158 src/lib/libedit/readline.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.