Skip to content
Commit 9e47dd9f authored by Kang Chen's avatar Kang Chen Committed by Felix Fietkau
Browse files

wifi: mt76: handle failure of vzalloc in mt7615_coredump_work

vzalloc may fails, dump might be null and will cause
illegal address access later.

Link: https://lore.kernel.org/all/Y%2Fy5Asxw3T3m4jCw@lore-desk


Fixes: d2bf7959 ("mt76: mt7663: introduce coredump support")
Signed-off-by: default avatarKang Chen <void0red@gmail.com>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent e4d2b8bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment