commit | 89096569196bc5c34a0701da8a6eb754f813245f | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Jun 12 00:04:55 2018 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Jun 18 14:43:14 2018 -0400 |
tree | a448e550dc9b28dd0a8aac68ab274f345d955a58 | |
parent | 22f2e9318fa61f19cd9d82a548c2569333560527 [diff] |
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>