aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2021-09-02 13:52:03 +0800
committerFelix Fietkau <nbd@nbd.name>2021-10-20 10:36:40 +0200
commit0ae3ff5684514d72357240f1033a7494c51f93ed (patch)
tree7c3e99c8bb84119696f1132c6eb057ec0f1af754 /tools/perf/scripts/python/event_analyzing_sample.py
parentmt76: mt7915: enable configured beacon tx rate (diff)
downloadlinux-0ae3ff5684514d72357240f1033a7494c51f93ed.tar.gz
linux-0ae3ff5684514d72357240f1033a7494c51f93ed.zip
mt76: mt7915: fix hwmon temp sensor mem use-after-free
Without this change, garbage is seen in the hwmon name and sensors output for mt7915 is garbled. It appears that the hwmon logic does not make a copy of the incoming string, but instead just copies a char* and expects it to never go away. Fixes: 33fe9c639c13 ("mt76: mt7915: add thermal sensor device support") Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions