Re: [PATCH] ASoC: SOF: Fix incorrect use of sizeof in sof_ipc3_do_rx_work()

From: Curtis Malainey
Date: Mon Aug 07 2023 - 13:54:16 EST


On Mon, Aug 7, 2023 at 12:52 AM Xia Fukun <xiafukun@xxxxxxxxxx> wrote:
>
> Here hdr is a pointer, and we should measure the size of
> struct sof_ipc_cmd_hdr.
>
> Fixes: 12c41c779fad ("ASoC: SOF: Refactor rx function for fuzzing")
> Signed-off-by: Xia Fukun <xiafukun@xxxxxxxxxx>

Thanks for catching this

Reviewed-by: Curtis Malainey <cujomalainey@xxxxxxxxxxxx>