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

--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Harald Anlauf
<anl...@gcc.gnu.org>:

https://gcc.gnu.org/g:55838f7fbd6e0131c2cc38e0eb903551c7fd2401

commit r10-8316-g55838f7fbd6e0131c2cc38e0eb903551c7fd2401
Author: Harald Anlauf <anl...@gmx.de>
Date:   Sun Jun 14 16:12:47 2020 +0200

    PR fortran/95088 - Buffer overflows with PDTs, submodules and long symbols

    With PDTs (parameterized derived types) and submodules, name mangling
    results in variably long internal symbols.  Instead of using a fixed-size
    intermediate buffer, which is actually not really needed, just use a
    pointer to strings.

    2020-06-14  Harald Anlauf  <anl...@gmx.de>

    gcc/fortran/
            PR fortran/95088
            * class.c (get_unique_type_string): Replace use of fixed size
            buffer by internally passing a pointer to strings.

    (cherry picked from commit 3ee9d82484bdc0ae5b1b21f4a3d8ff46d40e36fd)

Reply via email to