]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: error handling in read_console()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 2 Oct 2018 04:43:38 +0000 (06:43 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 16 Oct 2018 14:39:19 +0000 (16:39 +0200)
commit60d798765666a2e967ef818a2a0df8ef1d0ab789
tree8391630bcac3938dea1c7c850d6c2c38f97f87c5
parenteee6530ed1a8174d0f60e4c3c86bea3274c95951
efi_loader: error handling in read_console()

getc() might return an error code. Avoid an incorrect converison to
Unicode.

This addresses CoverityScan CID 184087.

Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/charset.c