aboutsummaryrefslogtreecommitdiff
path: root/binutils/bfdtest1.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2025-05-01 14:43:46 +0930
committerAlan Modra <amodra@gmail.com>2025-05-01 22:50:35 +0930
commita388feed3d4662623749a2e991ea802000cf74b7 (patch)
treecad5a4f7c93328e2a9fbcc630a12b6a3070462fc /binutils/bfdtest1.c
parentf72c4fa3d53b06992259293377ce17dad05c8701 (diff)
downloadbinutils-master.zip
binutils-master.tar.gz
binutils-master.tar.bz2
asan: null pointer as arg 2 of memcpyHEADmaster
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.
Diffstat (limited to 'binutils/bfdtest1.c')
0 files changed, 0 insertions, 0 deletions