From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7570 Path: news.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix futimes(fd, 0) Date: Thu, 7 May 2015 00:55:19 +0200 Message-ID: <20150506225518.GB29035@port70.net> References: <20150506221028.GA29076@euler> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1430952942 14162 80.91.229.3 (6 May 2015 22:55:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2015 22:55:42 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-7583-gllmg-musl=m.gmane.org@lists.openwall.com Thu May 07 00:55:33 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Yq8E0-0005rQ-GA for gllmg-musl@m.gmane.org; Thu, 07 May 2015 00:55:32 +0200 Original-Received: (qmail 19762 invoked by uid 550); 6 May 2015 22:55:31 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19744 invoked from network); 6 May 2015 22:55:30 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20150506221028.GA29076@euler> User-Agent: Mutt/1.5.23 (2014-03-12) Xref: news.gmane.org gmane.linux.lib.musl.general:7570 Archived-At: * Felix Janda [2015-05-07 00:10:28 +0200]: > Pass on 0 to futimens without trying to dereference it. is there a reason to accept 0 argument? there are other cases when the libc has to do fixups to the passed arguments and it dereferences the pointer which should be valid