diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-02-06 23:25:08 +0100 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2023-02-08 18:22:56 +0100 |
commit | 6cb1547e812e9c2eeca698b38d8ab2785b7a7abf (patch) | |
tree | 4b4fe6bfb5524ab62d1f8a55c685c6b643eb3834 /AUTHORS | |
parent | 85c82b18475dfe1cbbc4250cfbec7844d233100b (diff) | |
download | elfutils-6cb1547e812e9c2eeca698b38d8ab2785b7a7abf.tar.gz |
Initialize reglocs for VMCOREINFO
MSan complains:
Uninitialized value was created by an allocation of 'reglocs' in the stack frame
#0 0x562d35c686f0 in handle_core_note elfutils/src/readelf.c:12674:3
#const Ebl_Register_Location *reglocs;
==1006199==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x562d35c68a2a in handle_core_note elfutils/src/readelf.c:12692:11
#colno = handle_core_registers (ebl, ebl->elf, desc + regs_offset,
# reglocs, nregloc);
Strictly speaking, this is not a problem, because nregloc == 0, but for
other note types we initialize it anyway, so do it here as well.
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions