diff options
author | Nick Clifton <nickc@redhat.com> | 2018-12-11 12:01:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2018-12-11 12:01:15 +0000 |
commit | 69799d67e8872dcd3feee81ed2ff0fc47beb52d7 (patch) | |
tree | a6c32ecda1ae888a0d46ab28fcb1f59079a06b13 /binutils | |
parent | 99e1a184a791d30c09a86d6eca4528dc146c2c79 (diff) | |
download | gdb-69799d67e8872dcd3feee81ed2ff0fc47beb52d7.zip gdb-69799d67e8872dcd3feee81ed2ff0fc47beb52d7.tar.gz gdb-69799d67e8872dcd3feee81ed2ff0fc47beb52d7.tar.bz2 |
Fix a failure in the libiberty testsuite by increasing the recursion limit to 2048.
PR 88409
include * demangle.h (DEMANGLE_RECURSION_LIMIT): Increase to 2048.
binutils* NEWS: Note that recursion limit has increased to 2048.
* doc/binutils.texi: Likewise.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/NEWS | 2 | ||||
-rw-r--r-- | binutils/doc/binutils.texi | 8 |
3 files changed, 10 insertions, 5 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a5796a8..a1fce1a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2018-12-11 Nick Clifton <nickc@redhat.com> + + * NEWS: Note that recursion limit has increased to 2048. + * doc/binutils.texi: Likewise. + 2018-12-08 Alan Modra <amodra@gmail.com> * strings.c (unget_part_char): New function. diff --git a/binutils/NEWS b/binutils/NEWS index ce92534..6afa19d 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -4,7 +4,7 @@ maximum amount of recursion that is allowed whilst demangling strings. The value for this limit is defined by the DEMANGLE_RECRUSE_LIMIT constant declared in the include/demangle.h header file. At the time - of writing this constant has the value of 1024. + of writing this constant has the value of 2048. The --no-recurse-limit option can be used to remove the limit, restoring the behaviour of earlier versions of these tools. This may be needed in diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 7efda86..34947d9 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -950,7 +950,7 @@ whilst demangling strings. Since the name mangling formats allow for an inifinite level of recursion it is possible to create strings whose decoding will exhaust the amount of stack space available on the host machine, triggering a memory fault. The limit tries to prevent this -from happening by restricting recursion to 1024 levels of nesting. +from happening by restricting recursion to 2048 levels of nesting. The default is for this limit to be enabled, but disabling it may be necessary in order to demangle truly complicated names. Note however @@ -2202,7 +2202,7 @@ whilst demangling strings. Since the name mangling formats allow for an inifinite level of recursion it is possible to create strings whose decoding will exhaust the amount of stack space available on the host machine, triggering a memory fault. The limit tries to prevent this -from happening by restricting recursion to 1024 levels of nesting. +from happening by restricting recursion to 2048 levels of nesting. The default is for this limit to be enabled, but disabling it may be necessary in order to demangle truly complicated names. Note however @@ -3555,7 +3555,7 @@ whilst demangling strings. Since the name mangling formats allow for an inifinite level of recursion it is possible to create strings whose decoding will exhaust the amount of stack space available on the host machine, triggering a memory fault. The limit tries to prevent this -from happening by restricting recursion to 1024 levels of nesting. +from happening by restricting recursion to 2048 levels of nesting. The default is for this limit to be enabled, but disabling it may be necessary in order to demangle truly complicated names. Note however @@ -3778,7 +3778,7 @@ whilst demangling strings. Since the name mangling formats allow for an inifinite level of recursion it is possible to create strings whose decoding will exhaust the amount of stack space available on the host machine, triggering a memory fault. The limit tries to prevent this -from happening by restricting recursion to 1024 levels of nesting. +from happening by restricting recursion to 2048 levels of nesting. The default is for this limit to be enabled, but disabling it may be necessary in order to demangle truly complicated names. Note however |