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 Merge elftoolchain r3877 (by jkoshy): 2020-11-04 11:02:05 +00:00
elftc_bfd_find_target.3 elfcopy: set ELF OS/ABI field when converting from binary 2020-02-12 15:59:59 +00:00
elftc_bfdtarget.c elfcopy: set ELF OS/ABI field when converting from binary 2020-02-12 15:59:59 +00:00
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 Allow bootstrapping elftoolchain on MacOS and Linux 2019-07-01 11:52:54 +00:00
elftc_string_table_create.3 Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elftc_string_table.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
elftc_timestamp.3
elftc_timestamp.c
elftc_version.3
elftc.3 elfcopy: set ELF OS/ABI field when converting from binary 2020-02-12 15:59:59 +00:00
libelftc_bfdtarget.c Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
libelftc_dem_arm.c libelftc: Add a missing check for an error from vector_str_init(). 2020-02-04 21:16:16 +00:00
libelftc_dem_gnu2.c libelftc: Add a missing check for an error from vector_str_init(). 2020-02-04 21:16:16 +00:00
libelftc_dem_gnu3.c Fix memory corruption in C++ demangler 2024-05-09 19:55:52 -06:00
libelftc_hash.c
libelftc_vstr.c Merge elftoolchain r3877 (by jkoshy): 2020-11-04 11:02:05 +00:00
libelftc.h elfcopy: set ELF OS/ABI field when converting from binary 2020-02-12 15:59:59 +00:00
make-toolchain-version Update ELF Tool Chain to upstream r3769 2019-12-05 13:20:15 +00:00
Makefile
os.FreeBSD.mk
os.Linux.mk
os.NetBSD.mk
Version.map