freebsd-nq/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
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
guard.cc
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
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