diff options
| author | 2026-05-25 22:57:20 +0900 | |
|---|---|---|
| committer | 2026-05-25 16:30:34 +0200 | |
| commit | 7a1d09e477b6496f13f92b84ed9b2eab191b3366 (patch) | |
| tree | f5171f22743368f8b71124d30537bbf95b1c6b2d /tools/lib/python/kdoc/python_version.py | |
| parent | gpu: nova-core: vbios: stop scanning at BIOS_MAX_SCAN_LEN (diff) | |
gpu: nova-core: vbios: use checked arithmetic for bios image range end
`read_bios_image_at_offset` is called with a length from the VBIOS
header, so we should be more defensive here and use checked arithmetic.
Fixes: 6fda04e7f0cd ("gpu: nova-core: vbios: Add base support for VBIOS construction and iteration")
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Link: https://patch.msgid.link/20260525-fix-vbios-v5-2-e5e455251537@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
