Fortran: Fix 'name' bound size [PR99688]
authorTobias Burnus <tobias@codesourcery.com>
Mon, 22 Mar 2021 08:49:48 +0000 (09:49 +0100)
committerTobias Burnus <tobias@codesourcery.com>
Mon, 22 Mar 2021 08:50:50 +0000 (09:50 +0100)
commit0e792ee11aa6ebb6f61e9ed33eb06e260f0ec703
treefa23c3ed334ae9d39aff259fdd462667e0c3e6e4
parentfc9c4e5fc50c7fcbd27d6cb3dd372f7da8216954
Fortran: Fix 'name' bound size [PR99688]

gcc/fortran/ChangeLog:

PR fortran/99688
* match.c (select_type_set_tmp, gfc_match_select_type,
gfc_match_select_rank): Fix 'name' buffersize to avoid out of bounds.
* resolve.c (resolve_select_type): Likewise.
gcc/fortran/match.c
gcc/fortran/resolve.c