summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2022-01-30 12:52:58 +0300
committerLuca Coelho <luciano.coelho@intel.com>2022-02-18 11:40:52 +0300
commitf1658dcb29f423fea394aaa974a8cf5d491c503c (patch)
tree3044619e174f1b1dc7e30846750b984ce4b3a492 /tools/perf/scripts/python/export-to-postgresql.py
parent853450a618022ea9e488a3f55f8826d1bb5a66bb (diff)
downloadlinux-f1658dcb29f423fea394aaa974a8cf5d491c503c.tar.xz
iwlwifi: pcie: make sure iwl_rx_packet_payload_len() will not underflow
If the device is malfunctioning and reports too short rx descriptor length, iwl_rx_packet_payload_len() will underflow, eventually resulting in accessing memory out of bounds and other bad things. Prevent this. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Link: https://lore.kernel.org/r/iwlwifi.20220130115024.ea00b52c6f25.I8b79b14f1af8b6f2f579f97b397b9e005fe446b1@changeid Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions