https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61632

--- Comment #24 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sun Jul 20 20:03:41 2014
New Revision: 212875

URL: https://gcc.gnu.org/viewcvs?rev=212875&root=gcc&view=rev
Log:
2014-07-20  Jerry DeLisle  <jvdeli...@gcc.gnu.org>

    PR libgfortran/61632
    * io/format.c (format_error): Avoid invalid string pointer by
    using the fortran string length values to generate error string.
    (parse_format): Allocate the null terminator for the format
    string.

Modified:
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/io/format.c

Reply via email to