Re: [PATCH] env: efi: fix a wrong address dereference

2021-07-05 Thread Tom Rini
On Sat, Jul 03, 2021 at 10:25:22AM -0400, Tom Rini wrote: > From: AKASHI Takahiro > > 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 > [trini: Don't m

[PATCH] env: efi: fix a wrong address dereference

2021-07-03 Thread Tom Rini
From: AKASHI Takahiro 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 [trini: Don't make guid const now] Signed-off-by: Tom Rini --- cmd/nvedit_efi.c | 3 +--