From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: unicode build: "comparison is always true" warnings Date: Sat, 24 Nov 2007 19:21:12 +0100 Message-ID: <85r6ifv71j.fsf@lola.goethe.zz> References: <87oddltv7f.fsf@everybody.org> <87hcjcoo2x.fsf@everybody.org> <87wss8mypv.fsf@everybody.org> <87sl2wmmyk.fsf@everybody.org> <4747EF20.7050604@swipnet.se> <87wss7ubth.fsf@free.fr> <85oddjwtzc.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1195935636 12995 80.91.229.12 (24 Nov 2007 20:20:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Nov 2007 20:20:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 24 21:20:43 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Iw1UY-0002lO-Li for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 21:20:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw1UK-0000vp-1E for ged-emacs-devel@m.gmane.org; Sat, 24 Nov 2007 15:20:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iw1UG-0000vi-OX for emacs-devel@gnu.org; Sat, 24 Nov 2007 15:20:24 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iw1UE-0000vW-BN for emacs-devel@gnu.org; Sat, 24 Nov 2007 15:20:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iw1UE-0000vT-6o for emacs-devel@gnu.org; Sat, 24 Nov 2007 15:20:22 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iw1UD-0000X1-V5 for emacs-devel@gnu.org; Sat, 24 Nov 2007 15:20:22 -0500 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Iw1UD-0006J9-DU; Sat, 24 Nov 2007 15:20:21 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 09F011CCF7FE; Sat, 24 Nov 2007 19:21:12 +0100 (CET) In-Reply-To: (Andreas Schwab's message of "Sat, 24 Nov 2007 18:00:06 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:84072 Archived-At: Andreas Schwab writes: > David Kastrup writes: > >> Andreas Schwab writes: >> >>> Matthieu Lemerre writes: >>> >>>> An attacker could create a symlink with this name file between these >>>> two operations, thus the file would be erased. >>> >>> That does not happen, because the open will fail when the file already >>> exists. >> >> And I bet it was impossible for you to mention this in the last 6 mails >> or so. > > I have asked several times what it is considered insecure, but that > was the first mail that gave a hint. I cannot read anyone's mind. What a delicately selective quotation for the final cheap shot. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum