mirror of
https://xff.cz/git/u-boot/
synced 2025-10-26 16:13:55 +01: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>