PR fortran/95091 - Buffer overflows with submodules and long symbols
With submodules, name mangling results in long internal symbols. This requires adjustment of the sizes of temporaries to avoid buffer overflows. 2020-06-07 Harald Anlauf <anlauf@gmx.de> gcc/fortran/ PR fortran/95091 * class.c (get_unique_type_string, gfc_hash_value): Enlarge buffers, and check whether the strings returned by get_unique_type_string() fit. (cherry picked from commit b342cfd648e6658363c7c8fef83af8f59dba1795)
Showing
gcc/testsuite/gfortran.dg/pr95091.f90
0 → 100644
Please
register
or
sign in
to comment