diff options
author | Andrew Scull <ascull@google.com> | 2022-05-30 10:00:01 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-06-23 12:58:18 -0400 |
commit | 337b26e4688720560662246eb7703860b68bd6e2 (patch) | |
tree | 876a8b9dc5c3581f6e00a7feb5ee6f650e19dd68 /arch/sandbox/lib/sections.c | |
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>
Diffstat (limited to 'arch/sandbox/lib/sections.c')
0 files changed, 0 insertions, 0 deletions