[patch, libgfortran] PR24584 Segfault on null string in namelist input file
Jerry DeLisle
jvdelisle@verizon.net
Mon Oct 31 03:38:00 GMT 2005
Jerry DeLisle wrote:
> I will commit the following patch and test case attached as obvious this
> evening unless there are objections. (Reviewed with Paul Thomas off list)
>
> Regards,
>
> Jerry
>
> Index: list_read.c
> ===================================================================
> --- list_read.c (revision 106012)
> +++ list_read.c (working copy)
> @@ -134,6 +134,7 @@
> free_mem (saved_string);
>
> saved_string = NULL;
> + saved_used = 0;
> }
>
Committed to mainline with new testcase pr24584.f90, as obvious.
Regards,
Jerry
More information about the Fortran
mailing list