This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/24584] Segfault when reading empty string in namelist file



------- Comment #8 from jvdelisle at gcc dot gnu dot org  2005-11-12 22:22 -------
Subject: Bug 24584

Author: jvdelisle
Date: Sat Nov 12 22:22:53 2005
New Revision: 106838

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106838
Log:
2005-11-12  Jerry DeLisle <jvdelisle@gcc.gnu.org>

        PR libgfortran/24699, 24700, 24719, 24785
        * io/transfer.c (read_sf): Remove incorrect statement that was
        clearing bytes_left.
        (formatted_transfer_scalar): Add handling of end-of-record
        condition, setting values correctly to backup.  Handle x format
        when doing non-advancing write.
        (st_read): Initialize current_record.

        PR libgfortran/24584
        * io/list_read.c (free_saved): Set saved_used to zero.

Modified:
    branches/gcc-4_0-branch/libgfortran/ChangeLog
    branches/gcc-4_0-branch/libgfortran/io/list_read.c
    branches/gcc-4_0-branch/libgfortran/io/transfer.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]