diff options
author | Zong-Zhe Yang <[email protected]> | 2024-09-02 09:58:03 +0800 |
---|---|---|
committer | Ping-Ke Shih <[email protected]> | 2024-09-05 09:13:44 +0800 |
commit | ed2e4bb17a4884cf29c3347353d8aabb7265b46c (patch) | |
tree | faace1d1383a3f4542f2820643a26d3a373b8def /tools/perf/scripts/python/sched-migration.py | |
parent | c9ac071e30ba4f2e770a0705564790502a7b931f (diff) |
wifi: rtw89: avoid reading out of bounds when loading TX power FW elements
Because the loop-expression will do one more time before getting false from
cond-expression, the original code copied one more entry size beyond valid
region.
Fix it by moving the entry copy to loop-body.
Signed-off-by: Zong-Zhe Yang <[email protected]>
Signed-off-by: Ping-Ke Shih <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions