| commit | a388feed3d4662623749a2e991ea802000cf74b7 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Thu May 01 14:43:46 2025 +0930 |
| committer | Alan Modra <amodra@gmail.com> | Thu May 01 22:50:35 2025 +0930 |
| tree | cad5a4f7c93328e2a9fbcc630a12b6a3070462fc | |
| parent | f72c4fa3d53b06992259293377ce17dad05c8701 [diff] |
asan: null pointer as arg 2 of memcpy Replace xmalloc+memcpy+free with xrealloc, avoiding the asan warning on the initial allocation where we had memcpy(p,0,0). * cg_arcs.c (arc_add): Use xrealloc.