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

Backport: usb: dfu: check requested length (wLength) during DFU_UPLOAD #23460

Merged
merged 1 commit into from Mar 18, 2020

Conversation

d3zd3z
Copy link
Collaborator

@d3zd3z d3zd3z commented Mar 14, 2020

Backport of #23190 into v1.14

@d3zd3z d3zd3z added the backport v1.14-branch Request backport to the v1.14-branch label Mar 14, 2020
During DFU_UPLOAD, the host could requests more data
as stated in wTransferSize. Limit upload length to the
size of the request buffer (USB_REQUEST_BUFFER_SIZE).

Signed-off-by: Johann Fischer <j.fischer@phytec.de>
Signed-off-by: David Brown <david.brown@linaro.org>
@jfischer-no jfischer-no added the area: USB Universal Serial Bus label Mar 16, 2020
@nashif nashif changed the title Backport 23190 into v1.14 Backport: usb: dfu: check requested length (wLength) during DFU_UPLOAD Mar 17, 2020
@carlescufi carlescufi moved this from To do to Ready in Backports Mar 17, 2020
@nashif nashif merged commit afb307d into zephyrproject-rtos:v1.14-branch Mar 18, 2020
Backports automation moved this from Ready to Done Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus backport v1.14-branch Request backport to the v1.14-branch
Projects
Backports
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

4 participants