Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2070503imm; Mon, 16 Jul 2018 01:25:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcH0YeM8rR4NvZBbAK1jJNUZxrCwj04O66MX6/GCxRt3trNgOHJwuUSSblwU9VmE2Kr9PI4 X-Received: by 2002:a63:5f50:: with SMTP id t77-v6mr13910154pgb.300.1531729518711; Mon, 16 Jul 2018 01:25:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531729518; cv=none; d=google.com; s=arc-20160816; b=iiwMViGjP15T54KAUgYu/G3sYCjwVtl34df2QGhJW0oYKJzTs4dUGNkE2GKsujk4sN CDvL1tCXxicLRK4++M3dRtR6e5YEzqq7vqgSt5eKXTrFdYwynUTkNvsFhQiI/a22D9uU ehDnI77U/OlkqYh8gyY75o/xCBR569nR7C50ffB87AzDKOM+EHbnNtmBMfkcUHjIitPG E3yOEQseAc0c72kxWaoFmTWm8AwMdG9bUAoeQaPhlWzL1xs/O/hlO7uvG46PgJBfcrm8 kIe/3x3TDeUdtCj1N5D6lA19MbfFRxVHj6PqJ2FrKjSWBECnIohycIwwgbFv1g559uX5 HehA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=7zD8bH9isIRx2fNShhZVWlujWcqaAEctRw7k89hX4PA=; b=INkuKfrZKdOw5Mneomaj4MMa/5CLK7wBsi9TJqMB3E6yv6gJauBkzWvEO3dxQEnFVz rAxVbP2NQ7cFFP7fqMhmxdMGXWv6q4TiP1dti0to/FWLZfDbm4F3scnhIdbUFnLEhCNZ tdDJzhP1VfY9LUq6FqalJWYYbflxWBTe77kIgJufYDwzx2cgugDtXmQpEb3586DTFAu2 kN3V5t9jP0VwAznIytf5p8QdgVqKUR84l/Grgj7aEm8OBtpyGS72giIMX4QoJLagXltc 8slr2RprCus5WPKZRF0xY9uhzldV/kntuQzEw/sK1EKYULMYgX7xC9mjoOmDkyQ7NMDD 28QQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QAk+M2Fl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2-v6si9957499pla.359.2018.07.16.01.25.03; Mon, 16 Jul 2018 01:25:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QAk+M2Fl; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730798AbeGPIt6 (ORCPT + 99 others); Mon, 16 Jul 2018 04:49:58 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38186 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727199AbeGPIt6 (ORCPT ); Mon, 16 Jul 2018 04:49:58 -0400 Received: by mail-wm0-f66.google.com with SMTP id 69-v6so14794235wmf.3 for ; Mon, 16 Jul 2018 01:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7zD8bH9isIRx2fNShhZVWlujWcqaAEctRw7k89hX4PA=; b=QAk+M2FlmPCpLbaaqdkJbgylxRh11AK89JhfOpoVVwvMd+lR054PcpT2c19t9/oqgR RTQ/dQY8sZo+jUktHv2it1Yr9hbIxhqHm1nERGT6aKrKbw8LJsEsQ4iezPPoEZgoqGmX 8H03aQ9sgDHubpIV+PY9uu+cdpn+ILF423geY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7zD8bH9isIRx2fNShhZVWlujWcqaAEctRw7k89hX4PA=; b=Rz1HFCqSc+U/exgumrje/zoNsuk5QicDjtw6VQh4awTYjtb/JhjmAiPwKgmUs8oSaI Cy9sShy8hBLTYbKoujVFMNdF2TOZxYianQ0Kz0YWmZPdulOj1nQAURvrlMorSAnJ7VGQ tgSjrKloXtzvIcYPhxeVu5o3KYLjh14q//j7s9KLJFOX0bALMj8iDtDQEq2pmhu8i/0H poo6w0CGRQprPXCoXsAO0B400ghbPHzcElqPpz7QOnILQzUTDXCtiweYsKtBLt0iIsMV Vuz0ORK6IizmBJSLwb99sf+/JcnfWyOPPffIX1BFULmX3a6JEcRf7Uocea2/yYenNZ2q 33BA== X-Gm-Message-State: AOUpUlGXNl6HmmnbFk5shj1NFD6tFzJZ4Wou4VgJSJnN1SuGkES24yqt LhmfDRiuUOv//0eK7Is3iG0/Yw== X-Received: by 2002:a1c:af0c:: with SMTP id y12-v6mr1609458wme.87.1531729423217; Mon, 16 Jul 2018 01:23:43 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id u4-v6sm38119512wrt.31.2018.07.16.01.23.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 16 Jul 2018 01:23:42 -0700 (PDT) Date: Mon, 16 Jul 2018 09:23:39 +0100 From: Daniel Thompson To: Dominique Martinet Cc: David Laight , Jason Wessel , Arnd Bergmann , kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 14/18] kdb_support: change strncpy+truncation to strlcpy Message-ID: <20180716082339.tcczk5tdnruhr47x@holly.lan> References: <93d3ace9a35b4436930ed0521127c12b@AcuMS.aculab.com> <20180713103321.thjpohla6fuszona@holly.lan> <20180713151851.GA14190@nautica> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180713151851.GA14190@nautica> User-Agent: NeoMutt/20180622 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 13, 2018 at 05:18:51PM +0200, Dominique Martinet wrote: > Daniel Thompson wrote on Fri, Jul 13, 2018: > > On Fri, Jul 13, 2018 at 03:25:58AM +0200, Dominique Martinet wrote: > > > Generated by scripts/coccinelle/misc/strncpy_truncation.cocci > > > > > > Signed-off-by: Dominique Martinet > > > > It would have been good for you to mention in the changelog how > > you reviewed your change to verify that the extra zero padding > > from strncpy() isn't required. > > I'm sorry, I went a bit too fast with the send-email button on this > path series; I agree it is lacking. > > > However... I have taken a look and can't see any problem so: > > > > Reviewed-by: Daniel Thompson > > Thank you for the review, I will update the commit message with more > details and change strlcpy to strscpy in a v2 You can keep the reviewed by after the change to strscpy().