[PATCH] clk: versatile: clk-icst: use after free on error path
Stephen Boyd
sboyd at kernel.org
Tue Dec 7 12:24:43 PST 2021
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 <dan.carpenter at oracle.com>
> ---
Applied to clk-next
More information about the linux-arm-kernel
mailing list