commit | ae3de0d8caf1822da076b2cc947ea89a0b560e05 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Oct 31 10:21:09 2016 -0600 |
committer | Tom Rini <trini@konsulko.com> | Sat Nov 05 07:27:43 2016 -0400 |
tree | 8348f8a2ccd74d8b9767bbdb0444053efa8a2959 | |
parent | eb9e699ff14436c3417c949120c226531e81f614 [diff] |
image: Protect against overflow in unknown_msg() Coverity complains that this can overflow. If we later increase the size of one of the strings in the table, it could happen. Adjust the code to protect against this. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 150964)