commit | 337b26e4688720560662246eb7703860b68bd6e2 | [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 | 9121478ee6f2aee381f8fe49d8997d43527d351a [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>