[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8112c80c-8e65-aa0e-e335-562d9b8d3343@kernel.org>
Date: Mon, 25 Jul 2022 17:23:26 +0200
From: Daniel Bristot de Oliveira <bristot@...nel.org>
To: Andreas Schwab <schwab@...e.de>,
Steven Rostedt <rostedt@...dmis.org>
Cc: linux-trace-devel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] rtla: Fix double free
On 7/25/22 17:12, Andreas Schwab wrote:
> Avoid double free by making trace_instance_destroy indempotent. When
> trace_instance_init fails, it calls trace_instance_destroy, but its only
> caller osnoise_destroy_tool calls it again.
>
> Fixes: 0605bf009f18 ("rtla: Add osnoise tool")
> Signed-off-by: Andreas Schwab <schwab@...e.de>
Acked-by: Daniel Bristot de Oliveira <bristot@...nel.org>
Thanks!
-- Daniel
Powered by blists - more mailing lists