[Bug fortran/67367] Program crashes on READ(IOSTAT=IOS, ...) on directory OPEN()ed without error

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Aug 29 15:39:00 GMT 2015


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

--- Comment #7 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Author: jvdelisle
Date: Sat Aug 29 15:38:39 2015
New Revision: 227320

URL: https://gcc.gnu.org/viewcvs?rev=227320&root=gcc&view=rev
Log:
2015-08-29 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libgfortran/67367
        * io/unix.c (buf_read): Check for error condition and if found
        return the error code.

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



More information about the Gcc-bugs mailing list