]> git.dujemihanovic.xyz Git - u-boot.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)
commitf1eb346e336fee7c14ed289dc854da4556c29a44
treee7781df49f98328ca898af73fc51280e396ea74c
parent6194b45a83bde42cd2f404123823e5b326702001
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: c70f44817d46 ("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