]> git.baikalelectronics.ru Git - uboot.git/commit
env: efi: fix a wrong address dereference
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Sat, 3 Jul 2021 06:43:17 +0000 (15:43 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 5 Jul 2021 19:28:32 +0000 (15:28 -0400)
commit0d87b04f3ba6270484c4f10470c05ea8a5119ad4
treee7781df49f98328ca898af73fc51280e396ea74c
parent00107d80ad54cde11f2912c9afd2954affa1ecaf
env: efi: fix a wrong address dereference

Probably, a pointer to a variable in an inner block should not
be exposed to an outer block.

Fixes: eb071e353f6b ("efi_loader: simplify 'printenv -e'")
Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
[trini: Don't make guid const now]
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/nvedit_efi.c