Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HARD FAULT : Add sanity check to sx126x driver when handling retention list #1615

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarekNovakACRIOS
Copy link
Contributor

The same as described here applies: Lora-net/SWL2001#72
In one sentence - without the sanity check, reading ouf of bounds of an array placed on stack can happen -> this will cause reading outside of RAM/SRAM region, due to stack being placed at the end of SRAM/RAM region -> this will generate a hardfault or a memfault or take down the system...

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