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

bootstd: Init the size before reading the devicetree



The implementation in distro_efi_try_bootflow_files() does not pass a
valid size to bootmeth_common_read_file(), so this can fail if the
uninted value happens to be too small.

Fix this.

This was reported by someone but I cannot now find the email.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 6a8c2f97
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