https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122491
Christopher Albert <albert at tugraz dot at> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |albert at tugraz dot at
--- Comment #7 from Christopher Albert <albert at tugraz dot at> ---
Created attachment 63712
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=63712&action=edit
Avoid UAF on missing END BLOCK cleanup
In gcc/fortran/decl.cc:gfc_match_end, the fix stops freeing the current BLOCK
namespace during malformed END error recovery; it now lets normal block
unwinding/cleanup handle lifetime, preventing the heap-use-after-free.