]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/ChangeLog
libiberty: Limit demangler maximum d_print_comp recursion call depth.
[thirdparty/gcc.git] / libiberty / ChangeLog
index 673eb26430105a28574c0eabb3df790242969418..34e585eacaa3188f5bf548625bcb11764e0dfe72 100644 (file)
@@ -1,3 +1,10 @@
+2017-04-21  Mark Wielaard  <mark@klomp.org>
+
+       * cp-demangle.c (MAX_RECURSION_COUNT): New constant.
+       (struct d_print_info): Add recursion field.
+       (d_print_init): Initialize recursion.
+       (d_print_comp): Check and update d_print_info recursion depth.
+
 2017-04-21  Mark Wielaard  <mark@klomp.org>
 
        * cp-demangle.c (d_substitution): Return NULL if d_add_substitution