diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2024-03-20 09:46:11 +0100 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2024-03-25 09:16:19 +0100 |
commit | d54f87f09a36ac20154955297b7c999b368b0443 (patch) | |
tree | 5a943e4734d28d61aba8bd1e97be8c3eeaba59a2 /common/event.c | |
parent | 65d5c367b00cb392bda560c3da1834979adcf137 (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>
Diffstat (limited to 'common/event.c')
0 files changed, 0 insertions, 0 deletions