On Sun, 25 Oct 2026 17:01:37 +0100, Ahmad Fatoum wrote:
> The function only ever returns an unsigned value and
> fastboot.download_{size,bytes} are both unsigned values too.
> 
> Storing their difference into an int may possibly lead to misbehavior,
> so fix the types to ensure no overflow can happen.
> 
> 
> [...]

Applied, thanks!

[1/1] usb: gadget: fastboot: correctly cap rx_bytes_expected() result
      https://git.pengutronix.de/cgit/barebox/commit/?id=0d9d229fd497 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to