Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jan 2002 09:00:07 -0800 (PST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/33738: [PATCH] empty argv
Message-ID:  <200201101700.g0AH07171134@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/33738; it has been noted by GNATS.

From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To: Marc Olzheim <marcolz@stack.nl>
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: kern/33738: [PATCH] empty argv
Date: Thu, 10 Jan 2002 11:50:30 -0500 (EST)

 <<On Thu, 10 Jan 2002 09:16:36 +0100, Marc Olzheim <marcolz@stack.nl> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201101700.g0AH07171134>