commit | bfbe81aaac8a1f544fa08c5e200c0062f634efe1 | [log] [tgz] |
---|---|---|
author | Neil Armstrong <neil.armstrong@linaro.org> | Wed Mar 20 09:46:11 2024 +0100 |
committer | Neil Armstrong <neil.armstrong@linaro.org> | Mon Mar 25 09:16:19 2024 +0100 |
tree | 5a943e4734d28d61aba8bd1e97be8c3eeaba59a2 | |
parent | 7d720b8e1bba83169de72d3ce6cb18113b0944c5 [diff] |
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: Viacheslav Bocharov <adeep@lexina.in> Link: https://lore.kernel.org/r/20240320-u-boot-fix-p200-serial-v2-1-972be646a301@linaro.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>