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

Size Error in smtc_secure_element_get_pin() #9

Closed
rdaubencd opened this issue Dec 13, 2022 · 2 comments
Closed

Size Error in smtc_secure_element_get_pin() #9

rdaubencd opened this issue Dec 13, 2022 · 2 comments

Comments

@rdaubencd
Copy link

There is a possible size error in smtc_modem_core\smtc_modem_crypto\soft_secure_element\soft_se.c:smtc_secure_element_get_pin(). The memcpy uses a size of SMTC_SE_EUI_SIZE, but probably should use SMTC_SE_PIN_SIZE.

@lbm-team
Copy link
Contributor

lbm-team commented Mar 6, 2023

Hi @rdaubencd !
Thanks for the catch!
It will be corrected for the next release

@lbm-team
Copy link
Contributor

Hi @rdaubencd !
This issue is now solved in the new v3.3.0 release of the project.
The fix is mentioned in CHANGELOG.
You can also see the fix in code here

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

No branches or pull requests

2 participants