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
..
2022-03-28 12:36:49 -04:00
2022-01-19 18:11:34 +01:00
2022-04-04 10:48:44 -04:00
2021-07-23 13:36:20 -04:00
2022-01-19 18:11:34 +01:00
2021-07-23 13:36:14 -04:00
2021-07-23 13:36:20 -04:00
2022-03-10 08:28:36 -05:00