From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13692 invoked by alias); 20 Dec 2004 13:01:44 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 13441 invoked by uid 48); 20 Dec 2004 13:01:29 -0000 Date: Mon, 20 Dec 2004 13:01:00 -0000 Message-ID: <20041220130129.13440.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041220124425.19089.m@verified.de> References: <20041220124425.19089.m@verified.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug other/19089] Environment variable TMP may yield gcc: abort with internal error X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg02867.txt.bz2 List-Id: ------- 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