gcc/libgfortran/io
Jerry DeLisle c6e74afc2a backport: re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address)
2015-11-07 Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        Backport from trunk
        PR libgfortran/65089
        * io/format.h (free_format): New function to free memory
        allocated for building format error messages.
        * io/format.c (format_error): Add checks before freeing memory
        to avoid potential segfaults and free formatting data when
        needed on error conditions. Always allocate and NULL terminate
        the string.
        * io/transfer.c (st_read_done, st_write_done): Use new
        free_format function to clean up memory allocations when done.

From-SVN: r229935
2015-11-07 18:13:17 +00:00
..
close.c Update copyright years. 2015-01-05 13:33:28 +01:00
fbuf.c re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
fbuf.h re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
file_pos.c Update copyright years. 2015-01-05 13:33:28 +01:00
format.c backport: re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address) 2015-11-07 18:13:17 +00:00
format.h backport: re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address) 2015-11-07 18:13:17 +00:00
inquire.c re PR fortran/61933 (Inquire on internal units) 2015-01-23 02:01:10 +00:00
intrinsics.c Update copyright years. 2015-01-05 13:33:28 +01:00
io.h re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
list_read.c re PR fortran/60956 (error reading (and writing) large text files in gfortran) 2015-02-07 15:13:15 +00:00
lock.c Update copyright years. 2015-01-05 13:33:28 +01:00
open.c PR 65200 Handle EPERM in addition to EACCES. 2015-03-11 23:34:22 +02:00
read.c Update copyright years. 2015-01-05 13:33:28 +01:00
size_from_kind.c Update copyright years. 2015-01-05 13:33:28 +01:00
transfer.c backport: re PR fortran/65089 (FAIL: gfortran.dg/io_real_boz(2|_[45]).f90 when tested with -fsanitize=address) 2015-11-07 18:13:17 +00:00
transfer128.c Update copyright years. 2015-01-05 13:33:28 +01:00
unit.c re PR fortran/65596 (NAMELIST bug with f2003: reads too far) 2015-03-28 13:27:58 +00:00
unix.c re PR libfortran/66936 (io/unix.c gratuitously uses S_IRWXG and S_IRWXO on the basis that umask() is available) 2015-08-18 19:56:20 +00:00
unix.h Update copyright years. 2015-01-05 13:33:28 +01:00
write.c re PR fortran/65541 (namelist regression) 2015-03-26 02:44:34 +00:00
write_float.def re PR fortran/57822 (I/O: "(g0)" wrongly prints "E+0000") 2015-02-11 04:29:06 +00:00