[Bug fortran/67588] module.c heap use after free

kargl at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 15 16:39:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67588

kargl at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-09-15
                 CC|                            |kargl at gcc dot gnu.org,
                   |                            |pault at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from kargl at gcc dot gnu.org ---
Paul,

I think Vittorio is correct.  It appears you meant to free
a list, but you only free the head and then leak memory.



More information about the Gcc-bugs mailing list