Re: [PATCH] clk: versatile: clk-icst: use after free on error path
From: Linus Walleij <hidden>
Date: 2021-11-21 23:37:53
Also in:
kernel-janitors, linux-clk
From: Linus Walleij <hidden>
Date: 2021-11-21 23:37:53
Also in:
kernel-janitors, linux-clk
On Wed, Nov 17, 2021 at 8:26 AM Dan Carpenter [off-list ref] wrote:
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 <redacted>Reviewed-by: Linus Walleij <redacted> Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel