Skip to content

USB: Check on the number of bytes to send to not send more than expected#56

Open
sylvainpelissier wants to merge 1 commit intoarduino:masterfrom
sylvainpelissier:master
Open

USB: Check on the number of bytes to send to not send more than expected#56
sylvainpelissier wants to merge 1 commit intoarduino:masterfrom
sylvainpelissier:master

Conversation

@sylvainpelissier
Copy link

Previously if _cmark was less than _cend but the length to send is more than _cend - _cmark then the device will send more data than expected and may crash the host driver.

@CLAassistant
Copy link

CLAassistant commented Apr 9, 2021

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants