[Bug other/19089] Environment variable TMP may yield gcc: abort with internal error
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Dec 20 13:01:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-20 13:01 -------
In a way this is not a bug:
fd = mkstemps (temp_filename, suffix_len);
/* If mkstemps failed, then something bad is happening. Maybe we should
issue a message about a possible security attack in progress? */
if (fd == -1)
abort ();
/* Similarly if we can not close the file. */
if (close (fd))
abort ();
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089
More information about the Gcc-bugs
mailing list