diff options
| author | Dave Hansen <[email protected]> | 2025-04-09 13:58:37 +0000 |
|---|---|---|
| committer | Dave Hansen <[email protected]> | 2025-04-09 14:57:16 +0000 |
| commit | f0df00ebc57f803603f2a2e0df197e51f06fbe90 (patch) | |
| tree | 6f127c42e6ad5404060cc899eefbc313dc665d67 /rust/helpers/platform.c | |
| parent | Documentation/x86: Zap the subsection letters (diff) | |
| download | kernel-f0df00ebc57f803603f2a2e0df197e51f06fbe90.tar.gz kernel-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 <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
