diff options
author | Simon Glass <sjg@chromium.org> | 2018-06-12 00:04:55 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-06-18 14:43:14 -0400 |
commit | c2e4e7e6316a1683be56618a5918732477742fbc (patch) | |
tree | a448e550dc9b28dd0a8aac68ab274f345d955a58 /common/console.c | |
parent | b4c3fb087b06ec56cc325e2e73f8f497be89d129 (diff) | |
download | u-boot-c2e4e7e6316a1683be56618a5918732477742fbc.zip u-boot-c2e4e7e6316a1683be56618a5918732477742fbc.tar.gz u-boot-c2e4e7e6316a1683be56618a5918732477742fbc.tar.bz2 |
log: Fix incorect range check in log_get_cat_name()
This allows access to an element after the end of the array. Fix it.
Reported-by: Coverity (CID: 173279)
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/console.c')
0 files changed, 0 insertions, 0 deletions