Re: [PATCH v1] ASoC: meson: axg-card: fix 'use-after-free'
From: Jerome Brunet
Date: Wed Sep 11 2024 - 11:00:58 EST
On Wed 11 Sep 2024 at 17:24, Arseniy Krasnov <avkrasnov@xxxxxxxxxxxxxxxxx> wrote:
> Buffer 'card->dai_link' is reallocated in 'meson_card_reallocate_links()',
> so move 'pad' pointer initialization after this function when memory is
> already reallocated.
>
The title could have been a little more specific.
Anyway
Reviewed-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>