summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2021-10-16 11:43:57 +0300
committerKalle Valo <kvalo@codeaurora.org>2021-10-20 12:31:24 +0300
commit0f892441d8c353144e3669b7991fa5fe0bd353e9 (patch)
tree050a1f82458194c065992da9fc660fb5e5b19a6b /tools/perf/scripts/python
parent70382b0897eeecfcd35ba5f6161dbceeb556ea1e (diff)
iwlwifi: pnvm: don't kmemdup() more than we have
We shouldn't kmemdup() more data than we have, that might cause the code to crash. Fix that by updating the length before the kmemdup. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/iwlwifi.20211016114029.ab0e64c3fba9.Ic6a3295fc384750b51b4270bf0b7d94984a139f2@changeid
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions