Add a recursion limit to the demangle_const function in the Rust demangler.
commit9234cdca6ee88badfc00297e72f13dac4e540c79
authorNick Clifton <nickc@redhat.com>
Fri, 1 Jul 2022 14:58:52 +0000 (1 15:58 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 1 Jul 2022 15:00:06 +0000 (1 16:00 +0100)
tree342cdf16f920434d3b09e2b82a0b5f9167586f77
parentaefe23f720a542e90ecc6629885b01d44139b043
Add a recursion limit to the demangle_const function in the Rust demangler.

libiberty/
PR demangler/105039
* rust-demangle.c (demangle_const): Add recursion limit.
libiberty/rust-demangle.c