[PATCH v1] ASoC: meson: axg-card: fix 'use-after-free'

Jerome Brunet jbrunet at baylibre.com
Wed Sep 11 07:56:09 PDT 2024


On Wed 11 Sep 2024 at 17:24, Arseniy Krasnov <avkrasnov at salutedevices.com> 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 at baylibre.com>




More information about the linux-arm-kernel mailing list