This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/67540] string_intrinsics_inc.c sanitizer detects null pointer passed to memcpy
- From: "zeccav at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 13 Apr 2017 16:20:26 +0000
- Subject: [Bug libfortran/67540] string_intrinsics_inc.c sanitizer detects null pointer passed to memcpy
- Auto-submitted: auto-generated
- References: <bug-67540-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67540
--- Comment #11 from Vittorio Zecca <zeccav at gmail dot com> ---
Actually, the null pointer str4 is dereferenced four times:
at lines 39, 40, 68, 69.