diff options
| author | 2026-06-10 20:47:54 +0400 | |
|---|---|---|
| committer | 2026-07-07 13:17:35 +0200 | |
| commit | 14d9dad253ef70fd599edf162a12551f713dcf50 (patch) | |
| tree | 396f917c8b80c1e13f51841ba47bc3574228aed9 /scripts/Makefile.thinlto | |
| parent | staging: rtl8723bs: Drop unused parameter from rtw_sdio_if1_init() (diff) | |
staging: rtl8723bs: core: avoid NULL pointer dereference in c2h_wk_callback
kmalloc(16, GFP_ATOMIC) in c2h_wk_callback() could in theory return2
NULL, which would then be dereferenced in rtw_hal_c2h_valid().
A 16-byte allocation effectively cannot fail in practice, but add an
else continue; to the guard so the failure path exits the iteration
cleanly to make the code more robust.
Signed-off-by: Nikoloz Bakuradze <nbakuradze28@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Link: https://patch.msgid.link/20260610164755.49626-1-nbakuradze28@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
