Skip to content
Commit c88155fd authored by Johann Fischer's avatar Johann Fischer Committed by Johan Hedberg
Browse files

usb: mass_storage: fix possible page buffer overflow



The page buffer can overflow if dCBWDataTransferLength
is multiple of the BLOCK_SIZE but the host uses
OUT packets smaller than MPS durng transfer.

Signed-off-by: default avatarJohann Fischer <j.fischer@phytec.de>
parent 219d9fc0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment