Skip to content
Commit 337b26e4 authored by Andrew Scull's avatar Andrew Scull Committed by Tom Rini
Browse files

serial: sandbox: Fix buffer underflow in puts



Fix the buffer underflow that would occur if puts is called with length
of zero.

Fixes: efa51f2b ("serial: sandbox: Implement puts")
Cc: Sean Anderson <sean.anderson@seco.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: default avatarSean Anderson <sean.anderson@seco.com>
parent 9121478e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment