freebsd-dev/contrib/libcxxrt
Dimitry Andric d149877758 Fix possibly unitialized variables in __cxa_demangle_gnu3()
After 0ee0dbfb0d where I imported a more
recent libcxxrt snapshot, the variables 'rtn' and 'has_ret' could in
some cases be used while still uninitialized. Most obviously this would
lead to a jemalloc complaint about a bad free(), aborting the program.

Fix this by initializing a bunch variables in their declarations. This
change has also been sent upstream, with some additional changes to be
used in their testing framework.

PR:		253226
MFC after:	3 days
2021-02-22 21:01:09 +01:00
..
abi_namespace.h
atomic.h
auxhelper.cc
cxxabi.h
dwarf_eh.h Make libcxxrt's parsing of DWARF exception handling tables work on 2015-02-26 07:20:05 +00:00
dynamic_cast.cc
exception.cc Revert 3c4fd2463b since upstream libcxxrt fixed it in another way 2021-02-19 22:18:02 +01:00
FREEBSD-upgrade Update libcxxrt upgrade instructions 2015-06-18 14:29:46 +00:00
guard.cc Compile libcxxrt as C++11, since it is only really used in combination 2016-03-27 00:37:54 +00:00
libelftc_dem_gnu3.c Fix possibly unitialized variables in __cxa_demangle_gnu3() 2021-02-22 21:01:09 +01:00
LICENSE
memory.cc Merge libcxxrt master f96846efbfd508f66d91fcbbef5dd808947c7f6d. 2019-07-26 16:55:06 +00:00
stdexcept.cc
stdexcept.h
terminate.cc
typeinfo.cc Cherry-pick libcxxrt commit 8a853717e61d5d55cbdf74d9d0a7545da5d5ff92: 2017-03-22 21:45:42 +00:00
typeinfo.h
unwind-arm.h Merge libcxxrt master 8049924686b8414d8e652cbd2a52c763b48e8456 2021-02-18 22:30:27 +01:00
unwind-itanium.h Merge libcxxrt master 8049924686b8414d8e652cbd2a52c763b48e8456 2021-02-18 22:30:27 +01:00
unwind.h