Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp2769971ybx; Fri, 8 Nov 2019 09:05:32 -0800 (PST) X-Google-Smtp-Source: APXvYqwHKs0jObuJuV+oGnM0bw57FI6dL+bBdZ3JQUS0wmUfHfARxYr739ofru78ws4aNAz4YVe/ X-Received: by 2002:aa7:df8c:: with SMTP id b12mr11703028edy.166.1573232732744; Fri, 08 Nov 2019 09:05:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573232732; cv=none; d=google.com; s=arc-20160816; b=QKNa9W6XLxYEGE5cnLtwA5nv4sSv9FHlfFVlvM/4kKsyVtAG2+HfTIdEEsfkesJHgX yfS2MJJ4a4kF3OGCpepB0Hrg+MaKoNlHfOaejZLoXgNJ4jaALN6O4co52O3pC/zpepDE sAE65IuoXpWOH4LGlv/QG2HGDapYReB8zIVozKZ5T8IMTqKgYuVCXZ5zyaQ4YqInB/D3 UZ7ncUjL1ROxR3yKG10/zNiEEgUnLIIjtOu2H1EeU9MK0irYFVidsia24NOjMla2AtxQ T9bTlQ3QkeW2tHHcC6QpN3SeYl+oIDcGexcPfztZ/DbXiwPCoOdt7S0ZQQLWLSPLCttd YXRw== 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=XUv432m0Znz8Tr0WKMLOSWDGM5ojIEJrYckBBJUmOCc=; b=lr23xPILBYsz9nzunK/KkbD09fzId7vmwoTdVJT7E2E9LkeNeID2y5QD3pwtatX4+V D5KvxmaifidPNDK/F6rZxVKeK+uxb52VsYusoYluEGBVXnH+BHSO2345n3V7JVxgFAyA ZA/CAFuw7ZTMQFd0C338KXY13OlAsImqcdUOYTZ5VpI0RD3jxLZ8AEH7uw/pxAyoqVXt rmAKRxhsR8Nj0C4COcuwJbFyzRAYUgTsfFxWz9IshLeA+E2vbWwmPIoKOhDTsPPROtCP WDgNUDr60A4iX6gU9GwsCGUvbxHxCMo6/hCUP2dln9sIIKN/Wp4KI6bulzpK4/nMXPt3 kNzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ZC/uj8XM"; 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 h53si4684632edh.200.2019.11.08.09.05.09; Fri, 08 Nov 2019 09:05:32 -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="ZC/uj8XM"; 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 S1731140AbfKHRCE (ORCPT + 99 others); Fri, 8 Nov 2019 12:02:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:45928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726121AbfKHRBz (ORCPT ); Fri, 8 Nov 2019 12:01:55 -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 B830E222C4; Fri, 8 Nov 2019 17:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573232514; bh=XUv432m0Znz8Tr0WKMLOSWDGM5ojIEJrYckBBJUmOCc=; h=In-Reply-To:References:From:To:Cc:Subject:Date:From; b=ZC/uj8XMuX0P88rPmFq5P0z0qVqoHGgrw+HnS81WAVaD0ui6qyeu79eOUuCSDVNf+ u9Qmjy/sEanGQ+pn0A6sYeHCLm+2lY8hodVluZK5aLY2vUVMezwYvIfwwtYDR1EHCZ KlR32ri4/fXghBUcO8WHmVZXpg7MAOPtnAsx7ADk= 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:01:54 -0800 Message-Id: <20191108170154.B830E222C4@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 > --- Applied to clk-next