freebsd-src/contrib/elftoolchain/libelftc
Justine Tunney 12be6f12e8 Fix memory corruption in C++ demangler
The __cxa_demangle_gnu3() and cpp_demangle_gnu3() functions segfault on
various libcxxabi test cases due to a copy and paste error. This change
fixes that.

This is a subset of https://github.com/libcxxrt/libcxxrt/pull/34 which
fixes the immediate problem.

Reviewed by: imp, emaste (I think)
Pull Request: https://github.com/freebsd/freebsd-src/pull/1222
2024-05-09 19:55:52 -06:00
..
_libelftc.h
elftc.3
elftc_bfd_find_target.3
elftc_bfdtarget.c
elftc_copyfile.3
elftc_copyfile.c
elftc_demangle.3
elftc_demangle.c
elftc_reloc_type_str.3
elftc_reloc_type_str.c elftoolchain: update the list of riscv relocations 2023-01-31 14:32:40 -04:00
elftc_set_timestamps.3
elftc_set_timestamps.c
elftc_string_table.c
elftc_string_table_create.3
elftc_timestamp.3
elftc_timestamp.c
elftc_version.3
libelftc.h
libelftc_bfdtarget.c
libelftc_dem_arm.c
libelftc_dem_gnu2.c
libelftc_dem_gnu3.c Fix memory corruption in C++ demangler 2024-05-09 19:55:52 -06:00
libelftc_hash.c
libelftc_vstr.c
make-toolchain-version
Makefile
os.FreeBSD.mk
os.Linux.mk
os.NetBSD.mk
Version.map