Skip to content

BLE: fix possible truncation #9427

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
Jan 21, 2019

Conversation

paul-szczepanek-arm
Copy link
Member

@paul-szczepanek-arm paul-szczepanek-arm commented Jan 18, 2019

Description

Possible truncation of a value if the value does not fit uint8. The result is a uint8 but one of the components may be larger but due to truncation could end up limiting the result by more than needed.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@paul-szczepanek-arm paul-szczepanek-arm changed the title BLEfix truncation BLE: fix possible truncation Jan 18, 2019
@paul-szczepanek-arm paul-szczepanek-arm requested review from a user and pan- January 18, 2019 12:13
@paul-szczepanek-arm
Copy link
Member Author

ready for CI

@cmonr
Copy link
Contributor

cmonr commented Jan 18, 2019

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 19, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

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.

5 participants