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-01-18 08:31:02 -05:00
2022-01-19 18:11:34 +01:00
2022-04-04 10:48:44 -04:00
2022-02-03 15:53:28 -05:00
2022-01-19 18:11:34 +01:00
2022-01-19 18:11:34 +01:00
2021-03-07 17:37:13 +01:00
2022-01-19 18:11:34 +01:00
2021-10-08 15:53:26 -04:00
2021-09-04 12:26:01 -04:00
2022-03-15 16:19:29 -04:00
2021-09-16 10:29:40 -04:00
2022-01-19 18:11:34 +01:00
2021-07-14 16:57:35 -04:00
2021-10-08 15:53:26 -04:00
2022-01-19 18:11:34 +01:00
2021-07-15 18:42:05 -04:00
2022-01-19 18:11:34 +01:00