[Bug fortran/91310] Read overflow generated by character array assignment to self
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 29 12:30:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91310
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #7 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
OK, so finally:
If len + 3 > 512, _then_ the test case is invalid.
It would be nice to add bounds checking for that case, but
that's another kettle if fish.
More information about the Gcc-bugs
mailing list