Andrew Scull 337b26e468 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>
2022-06-23 12:58:18 -04:00
..
2021-12-31 06:45:01 +01:00
2022-06-06 18:01:21 -04:00
2019-05-10 22:43:18 +02:00
2022-04-01 15:03:13 -04:00