From owner-freebsd-audit Tue Jul 24 4: 7:56 2001 Delivered-To: freebsd-audit@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id EB4B737B405 for ; Tue, 24 Jul 2001 04:07:49 -0700 (PDT) (envelope-from sheldonh@starjuice.net) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.31 #1) id 15P03H-0002S1-00; Tue, 24 Jul 2001 13:08:35 +0200 From: Sheldon Hearn To: Kris Kennaway Cc: audit@FreeBSD.org Subject: Re: finger strdup patch In-reply-to: Your message of "Tue, 24 Jul 2001 01:46:02 MST." <20010724014602.A5532@xor.obsecurity.org> Date: Tue, 24 Jul 2001 13:08:35 +0200 Message-ID: <9424.995972915@axl.seasidesoftware.co.za> Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 24 Jul 2001 01:46:02 MST, Kris Kennaway wrote: > This is a slight consolidation from OpenBSD: it checks the return > values of a few more strdup()s and saves a few bytes on the binary > size, as a bonus :-) But it introdoces a new and mostly useless error message that isn't documented anywhere. It should complain with: * "Memory allocation failure" * "Cannot allocate memory" * One of the other memoray failure messages that users are used to seeing. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message