mirror of
https://xff.cz/git/u-boot/
synced 2025-09-23 03:22:11 +02:00
If the buffer is empty and not allocated, then abuf_realloc() tries to copy invalid data. This happens because an incorrect change to use memdup() was added after the original code was written. Signed-off-by: Simon Glass <sjg@chromium.org>