Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2765715ybx; Fri, 8 Nov 2019 09:02:38 -0800 (PST) X-Google-Smtp-Source: APXvYqyLT2OaJ4vka9G8Sce3MxyQgPaBViZR9OuItmgkg94V4fXgINvIllNoMeN7qIfOFRywsLCY X-Received: by 2002:a17:906:c9d8:: with SMTP id hk24mr9655441ejb.159.1573232558620; Fri, 08 Nov 2019 09:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573232558; cv=none; d=google.com; s=arc-20160816; b=PnMnNNF/5Tth4++ENUThiU4UtNwoyXH4j1xBqzVWzMuJMWqMUVZM8XxCUHnN//1Lmk drNqm2gd5HjcQPwBEgwACTZyS9j+fY1umpJYnArjX6B0Y65J9WoeBrTVBdzW4aiUDjeC p5hAHXytYNcM9iasr/30zoxpZPxFI1jbF+sWaE4/BCi3+6W+L7LUkAfFEucwT/vUeQCe PWmxJzxFXP5bkcEOv0QlnJjDNP5cHrT8wpRVuBB5KAH/fkSk4HK/kAZTl7t7zfUKwo7G sjhc9DtGxDBt3RyI0nFMi6zfDNPWzWQjGq9vGqrx7eyuIHQyaiMXv825yhZDtregvXm2 9b2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:user-agent:subject:cc:to :from:references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=Cn0SmJXbgc0O8vZqS7fq3T6tHgeTq6RIfCuQnwEt5/A=; b=GDzLTRmD0fXKgaBw2/6EPE7ZoBrnSCBm2nG6hRVu446Q71xPXf8LT6S0x0Q14xa6eC g+JfCxpyZ/PHnSYMXc6qIzZZIPVSl1buZPGhqNf16J32o8Nm4V4UbxbWFFXN6h0q5Gwv xpemw5/oLaunyUxCR6tcLIii+pXRGuAYxS1iXfr7+4ysnpmybYYea1ZYSw+uqBtoID12 NEP3grsYMf8BBe4+yO32hByEYYoeSgQRmj2v208e32p02+MOmTsMjQKvdQ+ug+e5ZLn8 Y7FKoWx3rUP5tZXIkI/k9FAEGwyRRM9iY+AMOnpQ1+75tEKmomBu5V/W1srlPwKPKwuB Dp3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=opcnFkYy; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g40si4804543edb.369.2019.11.08.09.02.15; Fri, 08 Nov 2019 09:02:38 -0800 (PST) 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=@kernel.org header.s=default header.b=opcnFkYy; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730151AbfKHRA1 (ORCPT + 99 others); Fri, 8 Nov 2019 12:00:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:45002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726819AbfKHRA1 (ORCPT ); Fri, 8 Nov 2019 12:00:27 -0500 Received: from kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 55DA52178F; Fri, 8 Nov 2019 17:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573232426; bh=Cn0SmJXbgc0O8vZqS7fq3T6tHgeTq6RIfCuQnwEt5/A=; h=In-Reply-To:References:From:To:Cc:Subject:Date:From; b=opcnFkYy/TUicFZuuXCRLbIev+ccxBEJ9FoPspQa0NOUSwFnhxT5ukL1or43P21L5 lFBjXqUg+xRn8Z8nXgEeclIfBAv5yc6qdCzRnJcCtF9Uzg2SUyHhvoxbM1OtyTjitV /aAvThDttcesn5UxQUvjmGiriHcsShHIReKlx8nk= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20191019140634.15596-1-steve@sk2.org> References: <20191019155441.2b1b349f@heffalump.sk2.org> <20191019140634.15596-1-steve@sk2.org> From: Stephen Boyd To: Stephen Kitt Cc: Michael Turquette , Tero Kristo , Tony Lindgren , linux-clk@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Kitt Subject: Re: [PATCH v3] clk/ti/adpll: allocate room for terminating null User-Agent: alot/0.8.1 Date: Fri, 08 Nov 2019 09:00:25 -0800 Message-Id: <20191108170026.55DA52178F@mail.kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Stephen Kitt (2019-10-19 07:06:34) > The buffer allocated in ti_adpll_clk_get_name doesn't account for the > terminating null. This patch switches to devm_kasprintf to avoid > overflowing. >=20 > Signed-off-by: Stephen Kitt > --- Please don't send as replies to existing threads. It screws up my tooling and makes it more manual to apply the patch. I guess I'll have to go fix my scripts to ignore certain emails.