[PATCH] PR fortran/95827 - Buffer overflows with PDTs and long symbols

Jerry DeLisle jvdelisle2@gmail.com
Tue Jun 23 21:42:31 GMT 2020


OK, and thanks for Patch.

On 6/23/20 2:08 PM, Harald Anlauf wrote:
> Dear all,
>
> here's another case with a buffer that did overflow.
>
> Regtested on x86_64-pc-linux-gnu.
>
> OK for master / backports?
>
> Thanks,
> Harald
>
>
> PR fortran/95827 - Buffer overflows with PDTs and long symbols
>
> With submodules and coarrays, name mangling results in long internal
> symbols.  Enlarge internal buffer.
>
> gcc/fortran/
> 	PR fortran/95827
> 	* iresolve.c (gfc_get_string): Enlarge internal buffer used in
> 	generating the mangled name.



More information about the Fortran mailing list