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

2023-08-03 Thread Tom Rini
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 Applied to u-boot/mas

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

2023-07-26 Thread Simon Glass
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 --- boot/bootmeth_pxe.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/boot/bootmeth_pxe