diff options
| author | Shahar Tzarfati <shahar.tzarfati@intel.com> | 2026-07-15 22:04:26 +0300 |
|---|---|---|
| committer | Miri Korenblit <miriam.rachel.korenblit@intel.com> | 2026-07-16 21:10:48 +0300 |
| commit | c5aeb11489150be84d3a700711abffd98969d2d5 (patch) | |
| tree | bdfbb8d5f3ac3ef2e9665b909798cf89cc6db719 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 51c45bb2c884e0e2f56d6770011994d653371702 (diff) | |
wifi: iwlwifi: mld: fix read in wake packet notification handler
In iwl_mld_handle_wake_pkt_notif(), expected_size was initialized from
notif->wake_packet_length before the IWL_FW_CHECK that validates the
payload covers sizeof(*notif).
Move the assignment of expected_size to after the size check so that
notif->wake_packet_length is only accessed once the payload length has
been validated.
Signed-off-by: Shahar Tzarfati <shahar.tzarfati@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260715220243.94c526d2c66e.I065a19a9dcc7f45a7457667c0f625fcd2c7bf6b6@changeid
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
