This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, libgfortran] Fix PR23154 Currupt string and segfault informatted read.
- From: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: Fortran List <fortran at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 08 Aug 2005 20:02:05 -0700
- Subject: Re: [Patch, libgfortran] Fix PR23154 Currupt string and segfault informatted read.
- References: <42F4507E.1070003@verizon.net><20050808205909.GA4388@meiner.onlinehome.de>
Could not come up with a test case. The bug manifests itself pretty obscurely.
In this case almost obvious was difficult to find. :-)
Bootstrapped and regression tested on 4.0 branch as well.
Committed to mainline and 4.0
2005-08-08 Jerry DeLisle <jvdelisle@verizon.net>
PR libfortran/23154
* io/transfer.c (data_transfer_init): Initialize
current_unit->bytes_left for a read.