commit | 1806577dc31e2a239fe954d2a049422d7ae36056 | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Mon May 30 10:00:01 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Thu Jun 23 12:58:18 2022 -0400 |
tree | 876a8b9dc5c3581f6e00a7feb5ee6f650e19dd68 | |
parent | e2bb9eadd557cdcd2d3848363d4d23996be67d55 [diff] |
serial: sandbox: Fix buffer underflow in puts Fix the buffer underflow that would occur if puts is called with length of zero. Fixes: efa51f2bd64 ("serial: sandbox: Implement puts") Cc: Sean Anderson <sean.anderson@seco.com> Cc: Simon Glass <sjg@chromium.org> Reviewed-by: Sean Anderson <sean.anderson@seco.com>