[Bug demangler/88629] Regression lead to Heap-buffer-overflow problem in function d_expression_1 in cp-demangle.c, as demonstrated by c++filt

nickc at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 12 11:23:41 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88629

Nick Clifton <nickc at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at gcc dot gnu.org

--- Comment #13 from Nick Clifton <nickc at gcc dot gnu.org> ---
(In reply to prajwapa from comment #12)

> Could you please let me know, in which binutils version is this fixed?

Not really.  I can confirm that the test cases do not fail when tested with
binutils 2.35 (with sanitization enabled) and with any binutils all the way
back to 2.30 if sanitization is not enabled.

Given that the bug was reported in 2018-12 and assuming that it was fixed at
some point in the 6 months after that, then the nearest binutils release that
would have included the fix is 2.33.

I hope that this helps.

Cheers
  Nick


More information about the Gcc-bugs mailing list