Skip to content
Commit d54f87f0 authored by Neil Armstrong's avatar Neil Armstrong
Browse files

board: amlogic: fix buffler overflow in seria, mac & usid read



While meson_sm_read_efuse() doesn't overflow, the string is not
zero terminated and env_set*() will buffer overflow and add random
characters to environment.

Acked-by: default avatarViacheslav Bocharov <adeep@lexina.in>
Link: https://lore.kernel.org/r/20240320-u-boot-fix-p200-serial-v2-1-972be646a301@linaro.org


Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
parent 65d5c367
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