efi_loader: endless loop in add_strings_package()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 19 Mar 2019 11:30:27 +0000 (12:30 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 20 Mar 2019 17:16:53 +0000 (18:16 +0100)
commitbd3b7478d1e17b4d487d276f5cc0e4f4ef9fc4b7
treef0f05fc2515de8f831805816761b9f3edc374084
parent306b16718edddd660b84bf3c6627ce5d41b53ce7
efi_loader: endless loop in add_strings_package()

Avoid an endless loop in add_strings_package().

Suggested-by: Takahiro Akashi <takahiro.akashi@linaro.org>
Reported-by: Coverity (CID 185833)
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_hii.c