Skip to content

LoRaWAN: Memory corruption due to band mishandling #6750

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

Merged
merged 1 commit into from
Apr 30, 2018

Conversation

hasnainvirk
Copy link
Contributor

Description

band_t structure in phy parameters was not being filled in properly
and we were spilling over the array boundary for bands.
In addition to that two utility functions are added to perform safety
checking taking in the frequency and filling out band information plus
boundary value checks.

Pull request type

[X ] Fix
[ ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change

@0xc0170 0xc0170 requested a review from AnttiKauppila April 26, 2018 09:00
@0xc0170 0xc0170 changed the title Memory corruption fix Lorawan: memory corruption fix Apr 26, 2018
band_t structure in phy parameters was not being filled in properly
and we were spilling over the array boundary for bands.
In addition to that two utility functions are added to perform safety
checking taking in the frequency and filling out band information plus
boundry value checks.
@hasnainvirk hasnainvirk changed the title Lorawan: memory corruption fix LoRaWAN: Memory corruption due to band mishandling Apr 26, 2018
@hasnainvirk
Copy link
Contributor Author

@kivaisan @kjbracey-arm Can you please review ?

@0xc0170 0xc0170 requested review from kjbracey and kivaisan April 26, 2018 10:33
@0xc0170
Copy link
Contributor

0xc0170 commented Apr 26, 2018

/morph build

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2018

Build : SUCCESS

Build number : 1861
Build artifacts/logs : http://mbed-os.s3-website-eu-west-1.amazonaws.com/?prefix=builds/6750/

Triggering tests

/morph test
/morph uvisor-test
/morph export-build
/morph mbed2-build

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2018

@mbed-ci
Copy link

mbed-ci commented Apr 26, 2018

@0xc0170
Copy link
Contributor

0xc0170 commented Apr 27, 2018

Waiting for one final approval from requested reviewers

@hasnainvirk
Copy link
Contributor Author

@cmonr @0xc0170 Could this be merged ?

@cmonr cmonr merged commit 4ca512d into ARMmbed:master Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants