Skip to content
Commit 11158aef authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 2984d21a
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment