]> git.ipfire.org Git - thirdparty/u-boot.git/commit
efi_loader: memory leak in append value
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 30 Apr 2019 05:14:09 +0000 (07:14 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 2 May 2019 16:17:50 +0000 (18:17 +0200)
commit45203e0ccbfaab5eafe3b6a7b8bb742182a83077
tree02583f97cdaa22e30e7aee8d4007423cd51a5788
parent39a1ff8ceab4b74164b2e19217206e7226aa9cd8
efi_loader: memory leak in append value

When printing an UEFI variable an error may arise while converting an
illegal hexadecimal value. In this case a buffer is leaked.

Close the memory leak. Provide an error message.

Reported-by: Coverity (CID 185830)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
cmd/nvedit_efi.c