| commit | 257cd88c5c198ab5c9c46401fe82a489f5e1f205 | [log] [tgz] |
|---|---|---|
| author | Joel Fernandes <joelagnelf@nvidia.com> | Mon Jan 12 19:16:48 2026 -0500 |
| committer | Joel Fernandes <joelagnelf@nvidia.com> | Mon Jan 26 14:25:36 2026 -0500 |
| tree | 9d38489083214ff8f7f4a985cb276b588f4f8706 | |
| parent | 8779b84dc1c80cbac3ae45256428a477b9d967db [diff] |
gpu: nova-core: use checked arithmetic in RISC-V firmware parsing Use checked_add() when computing offsets from firmware-provided values in the RISC-V firmware parsing code. These values come from the BinHdr structure parsed from the firmware file header. Reviewed-by: Zhi Wang <zhiw@nvidia.com> Signed-off-by: Joel Fernandes <joelagnelf@nvidia.com>