[PATCH 5/5] bootstd: Init the size before reading extlinux file

Tom Rini trini at konsulko.com
Thu Aug 3 23:47:01 CEST 2023


On Wed, Jul 26, 2023 at 09:01:25PM -0600, Simon Glass wrote:

> The implementation in extlinux_pxe_getfile() does not pass a valid size
> to bootmeth_read_file(), so this can fail if the uninited value happens to
> be too small.
> 
> Fix this.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230803/9678fd6b/attachment.sig>


More information about the U-Boot mailing list