]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR 61187 Fix use of uninitialized data.
authorJanne Blomqvist <jb@gcc.gnu.org>
Fri, 16 May 2014 20:42:56 +0000 (23:42 +0300)
committerJanne Blomqvist <jb@gcc.gnu.org>
Fri, 16 May 2014 20:42:56 +0000 (23:42 +0300)
commit756c9a1056e16de3aa2b334dc39363e70472fdda
treedc47ad87645017d655a12453924a3322075b4beb
parentf807ac456919ca08aa3997777355b5c3747c8ec2
PR 61187 Fix use of uninitialized data.

2014-05-16  Janne Blomqvist  <jb@gcc.gnu.org>

Backport from trunk:
PR libfortran/61187
* io/unix.c (raw_close): Check if s->fd is -1.
(fd_to_stream): Check return value of fstat(), handle error.

From-SVN: r210529
libgfortran/ChangeLog
libgfortran/io/unix.c