[Bug libfortran/67535] write.c sanitizer detects null pointer passed to memcpy
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 10 06:59:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67535
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
It is still undefined behavior, so e.g. gcc will happily remove NULL pointer
checks after it sees a pointer used in memcpy, etc.
More information about the Gcc-bugs
mailing list