[Bug fortran/31210] I/O of string with (non-constant) zero length

fxcoudert at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 4 15:14:00 GMT 2007



------- Comment #4 from fxcoudert at gcc dot gnu dot org  2007-05-04 16:14 -------
Subject: Bug 31210

Author: fxcoudert
Date: Fri May  4 15:14:07 2007
New Revision: 124428

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124428
Log:
        PR libfortran/31210
        * io/transfer.c (transfer_character): Avoid passing a NULL
        pointer as source to the transfer routines, if the string length
        is zero.

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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31210



More information about the Gcc-bugs mailing list