aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-breakpoint.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 /gdb/python/py-breakpoint.c
parentf72c4fa3d53b06992259293377ce17dad05c8701 (diff)
downloadbinutils-a388feed3d4662623749a2e991ea802000cf74b7.zip
binutils-a388feed3d4662623749a2e991ea802000cf74b7.tar.gz
binutils-a388feed3d4662623749a2e991ea802000cf74b7.tar.bz2
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.
Diffstat (limited to 'gdb/python/py-breakpoint.c')
0 files changed, 0 insertions, 0 deletions