[Bug libfortran/67540] string_intrinsics_inc.c sanitizer detects null pointer passed to memcpy
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Thu Apr 13 17:12:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67540
--- Comment #12 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Actually, the null pointer str4 is dereferenced four times:
> at lines 39, 40, 68, 69.
I agree for lines 39 and 68, but in lines it points to the strings 'ABCDEFGH'
and 4_'ABCDEFGH' AFAIU pointers.
More information about the Gcc-bugs
mailing list