[PATCH] mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()

Kalle Valo kvalo at codeaurora.org
Sat Jun 26 02:43:59 PDT 2021


Dan Carpenter <dan.carpenter at oracle.com> writes:

> Zero out all the unused members of "req" so that we don't disclose
> stack information.
>
> Fixes: 495184ac91bb ("mt76: mt7915: add support for applying pre-calibration data")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Felix, should I take this directly to wireless-drivers? If yes, please
ack.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the Linux-mediatek mailing list