]> git.baikalelectronics.ru Git - uboot.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)
commita54272a705a6034558d06df721c8d2b7ac4dc553
tree8391630bcac3938dea1c7c850d6c2c38f97f87c5
parentf56f92ffc414d5faa29e9d577e07b26c4315a338
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