Skip to content
Commit 1aaf08f7 authored by Jakub Rzeszutko's avatar Jakub Rzeszutko Committed by Alberto Escolar
Browse files

lib: shell: replace strtol with strtoul in cmd_load for address parsing



Addresses in cmd_load() should always be unsigned. Previously, strtol()
was used, which is limited to signed long values, causing issues with
addresses >= 0x80000000. This commit replaces strtol() with strtoul(),
ensuring proper handling of the full 32-bit address space.

Fixes #81343

Signed-off-by: default avatarAaron Fontaine <aaron.fontaine@dojofive.com>
Signed-off-by: default avatarJakub Rzeszutko <jakub.rzeszutko@verkada.com>
parent 76b6e6b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment