diff options
author | Dave Hansen <dave.hansen@linux.intel.com> | 2025-04-09 06:58:37 -0700 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2025-04-09 07:57:16 -0700 |
commit | f0df00ebc57f803603f2a2e0df197e51f06fbe90 (patch) | |
tree | 6f127c42e6ad5404060cc899eefbc313dc665d67 /tools/perf/scripts/python/stackcollapse.py | |
parent | 254a6d14c9c952e8eae0fafd4fed3778721b948e (diff) | |
download | linux-f0df00ebc57f803603f2a2e0df197e51f06fbe90.tar.gz linux-f0df00ebc57f803603f2a2e0df197e51f06fbe90.tar.bz2 linux-f0df00ebc57f803603f2a2e0df197e51f06fbe90.zip |
x86/cpu: Avoid running off the end of an AMD erratum table
The NULL array terminator at the end of erratum_1386_microcode was
removed during the switch from x86_cpu_desc to x86_cpu_id. This
causes readers to run off the end of the array.
Replace the NULL.
Fixes: f3f325152673 ("x86/cpu: Move AMD erratum 1386 table over to 'x86_cpu_id'")
Reported-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions