[Bug sanitizer/94849] Improper parameter validation in libsanitizer for fopen64

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 29 14:33:32 GMT 2020


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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #2)
> I think it is undefined behavior and just doesn't crash because the pathname
> is passed to a syscall which will fail then.
> So IMHO nothing we should support.

Agree with that. One possible improvement can be decoration of the filename
with non-null argument (in Glibc).


More information about the Gcc-bugs mailing list