diff options
author | Joel Kitching <kitching@google.com> | 2019-08-01 12:45:47 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-13 13:03:55 +0000 |
commit | 7ceb2ae796e6cd2b38a3344cffc8aa93032345ec (patch) | |
tree | ca660310a09ce55b8009366940708277ae9f3c37 /firmware/2lib/include/2return_codes.h | |
parent | 7ad9f51996d9d950dfbf6c11c82144f7026a68aa (diff) | |
download | vboot-7ceb2ae796e6cd2b38a3344cffc8aa93032345ec.tar.gz |
vboot: properly check failure from VbExGetLocalizationCount
Check the return value and result of calling
VbExGetLocalizationCount. If something is awry,
fall back to using one language entry.
BUG=b:124141368
TEST=make clean && make runtests
BRANCH=none
Change-Id: Ieeea54bfed303a98d16f15aceab47f1ffdd10d6d
Signed-off-by: Joel Kitching <kitching@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1729773
Commit-Queue: Joel Kitching <kitching@chromium.org>
Tested-by: Joel Kitching <kitching@chromium.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'firmware/2lib/include/2return_codes.h')
0 files changed, 0 insertions, 0 deletions