diff options
author | Rhys Lloyd <krakow20@gmail.com> | 2025-07-13 05:51:08 +0300 |
---|---|---|
committer | Alexandre Courbot <acourbot@nvidia.com> | 2025-07-17 08:10:58 +0300 |
commit | 14ae91a81ec8fa0bc23170d4aa16dd2a20d54105 (patch) | |
tree | 687057a2f131d1870bb3237a66fdeee9cf8a4c90 /scripts/gdb/linux/xarray.py | |
parent | 215a3f91713383a3c0d2da82d223a608a3c17ac1 (diff) | |
download | linux-14ae91a81ec8fa0bc23170d4aa16dd2a20d54105.tar.xz |
gpu: nova-core: fix bounds check in PmuLookupTableEntry::new
data is sliced from 2..6, but the bounds check data.len() < 5
does not satisfy those bounds.
Fixes: 47c4846e4319 ("gpu: nova-core: vbios: Add support for FWSEC ucode extraction")
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Signed-off-by: Rhys Lloyd <krakow20@gmail.com>
Link: https://lore.kernel.org/r/20250713025108.9364-2-krakow20@gmail.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions