Fix a stack exhaustion bug parsing malicious STABS format debug information.
commitaf4004d1da135610ab931e04a3ba2c9124defbd7
authorNick Clifton <nickc@redhat.com>
Thu, 6 Jan 2022 16:37:26 +0000 (6 16:37 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 6 Jan 2022 16:37:26 +0000 (6 16:37 +0000)
tree85f7e6dc0afd248d1f0af0b9388835926649d6f7
parent27297937e0c648cdf115ecbceb4ba25dfefe7492
Fix a stack exhaustion bug parsing malicious STABS format debug information.

PR 28718
* debug.c (debug_write_type): Allow for malicious recursion via
indirect debug types.
binutils/ChangeLog
binutils/debug.c