Skip to content

Conversation

@zephyrbot
Copy link

@zephyrbot zephyrbot commented Nov 21, 2024

Backport 1aaf08f from #81563.

Fixes #81343

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 <[email protected]>
Signed-off-by: Jakub Rzeszutko <[email protected]>
(cherry picked from commit 1aaf08f)
@zephyrbot zephyrbot added Backport Backport PR and backport failure issues area: Shell Shell subsystem labels Nov 21, 2024
@dkalowsk dkalowsk added this to the v4.0.1 milestone Dec 6, 2024
@dkalowsk dkalowsk merged commit bd1db48 into v4.0-branch Dec 6, 2024
28 of 29 checks passed
@dkalowsk dkalowsk deleted the backport-81563-to-v4.0-branch branch December 6, 2024 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Shell Shell subsystem Backport Backport PR and backport failure issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

6 participants