From owner-freebsd-standards Fri Dec 14 5:54: 3 2001 Delivered-To: freebsd-standards@freebsd.org Received: from gvr.gvr.org (gvr.gvr.org [212.61.40.17]) by hub.freebsd.org (Postfix) with ESMTP id 4B44A37B405; Fri, 14 Dec 2001 05:53:58 -0800 (PST) Received: by gvr.gvr.org (Postfix, from userid 657) id DE44B5809; Fri, 14 Dec 2001 14:53:55 +0100 (CET) Date: Fri, 14 Dec 2001 14:53:55 +0100 From: Guido van Rooij To: Ruslan Ermilov Cc: Andrey Chernov , standards@FreeBSD.org Subject: Re: Recent POSIX.1-2001 implementation of strtol(3) breaks POLA (was: Re: cvs commit: src/etc/periodic/security 550.ipfwlimit 650.ip6fwlimit) Message-ID: <20011214145355.B36368@gvr.gvr.org> References: <200112140858.fBE8wL596075@freefall.freebsd.org> <20011214115711.A34932@gvr.gvr.org> <20011214135243.B64853@sunbay.com> <20011214125438.A35615@gvr.gvr.org> <20011214142928.A69958@sunbay.com> <20011214154506.A79266@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011214154506.A79266@sunbay.com>; from ru@FreeBSD.org on Fri, Dec 14, 2001 at 03:45:07PM +0200 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Dec 14, 2001 at 03:45:07PM +0200, Ruslan Ermilov wrote: > > So while the current behavior of strtol() is accepted by > POSIX, I suggest that we don't return [EINVAL] for an > empty subject case, as it's not required, and as could > be seen from the above in against POLA. This should > fix it. Seems a good idea. Good hunting, btw! -Guido To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message