[Bug fortran/67588] module.c heap use after free
pault at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 17 10:28:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67588
--- Comment #6 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Vittorio Zecca from comment #5)
> I believe that
>
> use_list = module_list;
>
> at line module.c:805 is useless and can be expunged.
I don't think so.... Up to that point, use_list is set to point to the end of
the module_list by line 760. It then has to be initialized for the loop at 806.
Cheers
Paul
More information about the Gcc-bugs
mailing list