[PATCH v2] ASoC: test-component: fix null pointer dereference.

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Dec 8 01:05:46 CET 2021


Hi Ameer

Ah, you posted the patch :)

> Subject: [PATCH v2] ASoC: test-component: fix null pointer dereference.
>
> Dereferncing of_id pointer will result in exception in current
> implementation since of_match_device() will assign it to NULL.
> Adding NULL check for protection.

Previous your patch was already accepted,
thus this is not v2 patch.
git log should indicate is replace of_match_device() to of_device_get_match_data()

Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list