[patch, libgfortran] PR32752 Segfault on WRITE with modified unix_stream structure

FX Coudert fxcoudert@gmail.com
Sun Jul 15 00:04:00 GMT 2007


:REVIEWMAIL:

> 2007-07-14  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
>
> 	PR libgfortran/32752
> 	* io/unix.c (unix_stream): Move buffer pointer adjacent to  
> small_buffer.
> 	* io/transfer.c (formatted_transfer_scalar): If stream I/O, set
> 	bytes_used to zero. Fix off by one error in calculation of pos and
> 	skips. Eliminate duplicate pending_spaces check.

OK



More information about the Fortran mailing list