Skip to content

Conversation

JordanYates
Copy link
Contributor

memfault: fix PC and LR for secure faults
nrf_modem_lib: fix buffer size
nrf_modem_lib: ensure KV value NULL terminated
rpc: commands: lte_at_cmd: ensure NULL termination
gnss: ubx_modem: one identifier per line

For secure faults with full stack information, the PC and LR need to be
pulled from a different location in the union.

Signed-off-by: Jordan Yates <[email protected]>
Running `scanf` for a string of N characters requires an output buffer
of (N + 1) characters (for the terminating NULL).

Signed-off-by: Jordan Yates <[email protected]>
Ensure in software that the value read out of the KV store is NULL
terminated before passing to `strlen`.

Signed-off-by: Jordan Yates <[email protected]>
Add extra logic to ensure the buffer provided to `strlen` is NULL
terminated.

Signed-off-by: Jordan Yates <[email protected]>
One variable identifier per line.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

Copy link

codecov bot commented Aug 21, 2025

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/memfault/infuse_memfault.c 0.00% 2 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@JordanYates JordanYates merged commit 791d4be into main Aug 21, 2025
14 checks passed
@JordanYates JordanYates deleted the bugfix/memfault_secure_fault_info branch August 21, 2025 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant