aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/resolve.c
diff options
context:
space:
mode:
authorHarald Anlauf <anlauf@gmx.de>2020-06-25 20:32:13 +0200
committerHarald Anlauf <anlauf@gmx.de>2020-06-25 20:32:13 +0200
commit35a335a159216548fc77263ac5df71ff29d3f448 (patch)
tree70460bb97d27ffe4ab264f6024bb0e4ff402c6c1 /gcc/fortran/resolve.c
parent20f466326ca08d7dac58eb34ffdd6bf80428c5ab (diff)
downloadgcc-35a335a159216548fc77263ac5df71ff29d3f448.zip
gcc-35a335a159216548fc77263ac5df71ff29d3f448.tar.gz
gcc-35a335a159216548fc77263ac5df71ff29d3f448.tar.bz2
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.
Diffstat (limited to 'gcc/fortran/resolve.c')
0 files changed, 0 insertions, 0 deletions