diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2026-01-19 13:55:36 +0200 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2026-01-19 18:20:37 +0200 |
| commit | 709a53c8b20b5770f7e2f117d4799b5617479976 (patch) | |
| tree | 1a5f892c394a4c46f0ec8fc1f5d2d67cf4c41197 /source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | ad5e3cb950344f9822dbbd90f5ac7c256f97fa4c (diff) | |
x86/local_apic.c: Properly calculate the number of LVT entries
First, the CMCI entry index is APIC_LVT_MAX, so it was excluded
unconditionall [1].
Second, the number of entries is reported by the version register, and
we must not access past the last reported entry.
Reported by: olivier [1]
Fixes: 11f954b021a1aadde1d03d40ed5d6b529e14da98
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D54773
Diffstat (limited to 'source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
