[PATCH] uimage: use read_full where appropriate

Sascha Hauer s.hauer at pengutronix.de
Mon Oct 14 05:59:41 PDT 2024


On Wed, 02 Oct 2024 18:36:21 +0200, Ahmad Fatoum wrote:
> Apart from the CRC code, where it's no problem to just compute the CRC
> of the last read and read again, all other instances of read() in the
> uimage code are written with the assumption that the read will not be
> short.
> 
> Use read_full to satisfy this assumption.
> 
> [...]

Applied, thanks!

[1/1] uimage: use read_full where appropriate
      https://git.pengutronix.de/cgit/barebox/commit/?id=a77f55e34932 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list