This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/42742] Handle very large format strings correctly



------- Comment #17 from jvdelisle at gcc dot gnu dot org  2010-02-07 00:08 -------
I have found some time and managed to isolate the problem. It is in the
allocation of new format nodes after the fnode_array is exhausted. During
format caching, reset_fnode relies on a NULL to break out of a loop.  The
pointer used comes out of get_fnode not initialized to NULL and the segfault
ensues.  I am working on the proper patch.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42742


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]