From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5A34AC433EF for ; Tue, 7 Dec 2021 20:26:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EmzpVhjhKjHeqLPuXWZYOUtYtyTr2D0DoFdgEPo99Ew=; b=zOs4rSf4HpbDOi CCzbkSJ/0lwdiII063FHHIGOElL7wu3Kx28sglAZT2JpCpepsq+sM15lcbwzjn1ncmTaKESm11Pyp JMOKpb/Io1WDgxgzvC/OSdPK54Ij9TpfdPRNDDFaFFoJ1jrCgvL15gRuiAZe3Ed6N9iUSIkWDIBDh p1eN3JjiIgMezcS9SE3kI750+9vR2/iZytrvldh5Zbi937UdjIUsMNxuLCfEVcAC91l7oVyx4otGq 6CTmAMGbFTcZ8/4Gv0cuWpDxLzp1Iify1jtDKtl9qrYiU4wxFieXXWGtFlSgKFrxkdnIaadye2zgE mkirtoECmDRPRTADx3lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muh1o-00A1IL-8A; Tue, 07 Dec 2021 20:25:32 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muh1j-00A1HM-Vo for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 20:25:29 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id C4D85CE1B8B; Tue, 7 Dec 2021 20:25:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E730DC341C1; Tue, 7 Dec 2021 20:25:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638908724; bh=RjxVVZnOyr79Lidnc0Xpm5aqZPHxYnkZnehJfSy83Ug=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=dTW5oT8QuuVLExkWV0CvFtrK3L8fOnCd9NzCaCLRWEtL79TFYZm9/IVjBNBUEgYpG YaarU4JXPCReqrfxuvunNbKvEXbpLAUs70dhVeX1dmjLSexegFt6FYr7N+/yBatK3/ brKm/UJ/a6ewVClkqcIPo1Ed/zWWMdDfL3jKXIigBPOR7onFDF/acHDddaLMQrjt50 rW2Y8pm1WpfvA2t1d1rcWOxzG0mL5sM/dJua/Urh+/skgJI+FINVYEOdeGrUbuNreQ InB3ZXWb6t4LsRlGtM0C466nwIsAyBnwd+GuuwVheDL261A1FvwWhzM++HXZ4gqM+S QEdp1KMznnMow== MIME-Version: 1.0 In-Reply-To: <20211117072604.GC5237@kili> References: <20211117072604.GC5237@kili> Subject: Re: [PATCH] clk: versatile: clk-icst: use after free on error path From: Stephen Boyd Cc: Michael Turquette , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter , Linus Walleij , Rob Herring Date: Tue, 07 Dec 2021 12:25:22 -0800 User-Agent: alot/0.9.1 Message-Id: <20211207202523.E730DC341C1@smtp.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211207_122528_221244_0486D06A X-CRM114-Status: UNSURE ( 8.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Dan Carpenter (2021-11-16 23:26:05) > This frees "name" and then tries to display in as part of the error > message on the next line. Swap the order. > > Fixes: 1b2189f3aa50 ("clk: versatile: clk-icst: Ensure clock names are unique") > Signed-off-by: Dan Carpenter > --- Actually, applied to clk-fixes _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel