Simon Glass 99aca9efe1 abuf: Correct a corner case with abuf_realloc()
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>
2022-04-06 14:01:42 -04:00
..
2020-10-30 10:56:11 -04:00
2019-04-22 18:13:21 -04:00
2021-11-20 10:53:00 +01:00
2021-04-08 15:37:29 +08:00
2021-10-08 15:53:26 -04:00
2020-03-12 08:20:39 -04:00
2021-10-08 15:53:26 -04:00