]> Git Repo - J-u-boot.git/commit
bootstd: Init the size before reading extlinux file
authorSimon Glass <[email protected]>
Thu, 27 Jul 2023 03:01:25 +0000 (21:01 -0600)
committerTom Rini <[email protected]>
Thu, 3 Aug 2023 19:30:54 +0000 (15:30 -0400)
commit11158aef8939bb6e54361e4dae3809a9cbe78cff
tree9e95ad9c42383955460fc39eb095bcedb333b846
parent2984d21a28f812c9c1fd2243cc72796f69a61585
bootstd: Init the size before reading extlinux file

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 <[email protected]>
boot/bootmeth_pxe.c
This page took 0.031078 seconds and 4 git commands to generate.