[PATCH] gfortran: Fix allocation of diagnostig string (was too small).
Janne Blomqvist
blomqvist.janne@gmail.com
Tue Jul 26 17:05:00 GMT 2016
On Tue, Jul 26, 2016 at 6:42 PM, Dominik Vogt <vogt@linux.vnet.ibm.com> wrote:
> The attached patch fixes an out of bound write to memory allocated
> with alloca() on the stack. This rarely ever happened because on
> one hand -fbounds-check needs to be enabled, and on the other hand
> alloca() used to allocate a few bytes extra most of the time so
> most of the time the excess write did no harm.
Ok for trunk, thanks.
--
Janne Blomqvist
More information about the Fortran
mailing list