summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2026-05-23 18:37:20 -0400
committerLen Brown <len.brown@intel.com>2026-10-03 14:59:43 -0400
commit928994b9dab3ab5b33f4215c8af2c292463dfb33 (patch)
tree1be01048ec07ab8f9b03035b21cb4bb1c88f4445 /tools/perf/scripts/python/bin/stackcollapse-record
parented96bc22cbd454ce687d9685a21d159fe5689b83 (diff)
downloadlinux-next-928994b9dab3ab5b33f4215c8af2c292463dfb33.tar.gz
linux-next-928994b9dab3ab5b33f4215c8af2c292463dfb33.zip
x86_energy_perf_policy: Cleanup err_on_hypervisor error path
strstr could run off the end of the buffer if there is no NUL termination. No, this does not hapen in real life, since we always find "flags". Avoid using a pointer into a freed buffer -- even though we are just testing the pointer for non NULL. No functional change. Assisted-by: GitHub-Copilot:Claude-Sonnet-4.6 Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions