[Committed] PR fortran/85542 -- Avoid NULL dereference

Steve Kargl sgk@troutmask.apl.washington.edu
Fri May 11 19:00:00 GMT 2018


I've committed the attached patch.  It checks for a valid
pointer before using it.

2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/85542
	* expr.c (check_inquiry): Avoid NULL pointer dereference.
 
2018-05-11  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/85542
	* gfortran.dg/pr85542.f90: New test.

-- 
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr85542.diff
Type: text/x-diff
Size: 990 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20180511/1d42ca58/attachment.bin>


More information about the Fortran mailing list