aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorBen Greear <[email protected]>2021-09-02 13:52:03 +0800
committerFelix Fietkau <[email protected]>2021-10-20 10:36:40 +0200
commit0ae3ff5684514d72357240f1033a7494c51f93ed (patch)
tree7c3e99c8bb84119696f1132c6eb057ec0f1af754 /tools/perf/scripts/python/libxed.py
parent68ee6a14fe628d3d56dec8535f41a2a4f3ae6709 (diff)
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 <[email protected]> Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions