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

Felix Fietkau nbd at nbd.name
Sat Jun 26 04:42:31 PDT 2021


On 2021-06-25 16:58, Dan Carpenter wrote:
> 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>
Acked-by: Felix Fietkau <nbd at nbd.name>



More information about the Linux-mediatek mailing list