From owner-freebsd-bugs Thu Jan 10 9: 0:22 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 177DF37B41F for ; Thu, 10 Jan 2002 09:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g0AH07171134; Thu, 10 Jan 2002 09:00:07 -0800 (PST) (envelope-from gnats) Date: Thu, 10 Jan 2002 09:00:07 -0800 (PST) Message-Id: <200201101700.g0AH07171134@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Garrett Wollman Subject: Re: kern/33738: [PATCH] empty argv Reply-To: Garrett Wollman Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/33738; it has been noted by GNATS. From: Garrett Wollman To: Marc Olzheim Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: kern/33738: [PATCH] empty argv Date: Thu, 10 Jan 2002 11:50:30 -0500 (EST) < said: > execve(argv[1], NULL, bar); This, on the other hand, should probably return an error. A null pointer is not an ``array of character pointers'' as required by the Standard. The Standard does not require a particular error return for this case, so any error is permissible; [EFAULT] is probably the best. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message