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

--- 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:32613b6af830f12ee5b6ef97edd782666f47cbb8

commit r10-8375-g32613b6af830f12ee5b6ef97edd782666f47cbb8
Author: Harald Anlauf <anl...@gmx.de>
Date:   Thu Jun 25 20:32:13 2020 +0200

    PR fortran/95826 - Buffer overflows with PDTs and long symbols

    With PDTs (parameterized derived types), name mangling results in variably
    long internal symbols.  Use a dynamic buffer instead of a fixed-size one.

    gcc/fortran/
            PR fortran/95826
            * decl.c (gfc_match_decl_type_spec): Replace a fixed size
            buffer by a pointer and reallocate if necessary.

    (cherry picked from commit 35a335a159216548fc77263ac5df71ff29d3f448)

Reply via email to