[Bug fortran/67497] data.c sanitizer runtime error: null pointer passed as argument 2, which is declared to never be null

zeccav at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 28 09:02:00 GMT 2016


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

--- Comment #3 from Vittorio Zecca <zeccav at gmail dot com> ---
Still in gfortran 5.3.0

/home/vitti/gcc-5.3.0/gcc/fortran/data.c:191:32: runtime error: null
pointer passed as argument 2, which is declared to never be null

data.c:191 "memcpy (&dest[start], rvalue->value.character.string,
            len * sizeof (gfc_char_t));"

Maybe len==0


More information about the Gcc-bugs mailing list