[Bug libfortran/66861] [5/6 Regression] Segmentation fault in gcc/testsuite/gfortran.dg/streamio_5.f90

jb at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jul 14 20:26:00 GMT 2015


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

--- Comment #6 from Janne Blomqvist <jb at gcc dot gnu.org> ---
Author: jb
Date: Tue Jul 14 20:26:06 2015
New Revision: 225788

URL: https://gcc.gnu.org/viewcvs?rev=225788&root=gcc&view=rev
Log:
PR 66861 Fix null pointer crash on mingw.

2015-07-14  Janne Blomqvist  <jb@gcc.gnu.org>

        PR libfortran/66861
        * io/unix.c (compare_file_filename): Verify that u->filename is
        non-NULL before strcmp.
        (find_file0): Likewise.

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



More information about the Gcc-bugs mailing list