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

[bug] coap parse error on 64 bits platform #467

Closed
Kevin0626 opened this issue May 5, 2020 · 3 comments
Closed

[bug] coap parse error on 64 bits platform #467

Kevin0626 opened this issue May 5, 2020 · 3 comments

Comments

@Kevin0626
Copy link
Contributor

It only happens in release build mode. When you switch to debug build for debugging, then it is gone. It is quite confusing.

After spending some debugging effort, here is the root cause and fix:
https://github.com/eclipse/wakaama/blob/master/core/er-coap-13/er-coap-13.c
line 622:
size_t option_length = 0;
change to:
unsigned int option_length = 0;

@Kevin0626
Copy link
Contributor Author

Kevin0626@3adafb5

@sbertin-telular
Copy link
Contributor

I think this is a duplicate of #429 and is fixed by #432.

@Kevin0626
Copy link
Contributor Author

@sbertin-telular thanks! The PR for #432 is still open and this repo has no new submissions for more than a year. It looks there is no maintainers for this project now? @dnav

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