zephyr/subsys/shell/modules
Jakub Rzeszutko 1aaf08f7f1 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: Aaron Fontaine <aaron.fontaine@dojofive.com>
Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@verkada.com>
2024-11-21 09:17:08 +01:00
..
kernel_service shell: kernel_service: heap: add required header 2024-09-19 03:52:59 -04:00
CMakeLists.txt shell: kernel_service: reorg the commands 2024-09-17 20:12:33 -04:00
date_service.c subsys/shell: cmd_date_set uses gmtime_r, a POSIX function 2024-09-16 20:17:35 +02:00
device_service.c device_dt_metadata: handle dt_meta being NULL 2024-08-12 15:54:22 +02:00
devmem_service.c lib: shell: replace strtol with strtoul in cmd_load for address parsing 2024-11-21 09:17:08 +01:00
Kconfig shell: kernel_service: reorg the commands 2024-09-17 20:12:33 -04:00