From owner-cvs-all Fri Nov 2 3:36:40 2001 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by hub.freebsd.org (Postfix) with ESMTP id 2061637B401; Fri, 2 Nov 2001 03:36:34 -0800 (PST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.11.6/8.11.6) with ESMTP id fA2BZW922916; Fri, 2 Nov 2001 12:35:32 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: "Daniel O'Connor" Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/stdlib malloc.c In-Reply-To: Your message of "Fri, 02 Nov 2001 22:04:28 +1030." Date: Fri, 02 Nov 2001 12:35:32 +0100 Message-ID: <22914.1004700932@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , "Daniel O'Connor" write s: > >On 02-Nov-2001 Poul-Henning Kamp wrote: >> If zero bytes are allocated, return pointer to the middle of page-zero >> (which is protected) so that the program will crash if it dereferences >> this illgotten pointer. > >Does this affect the 'V' malloc flag? No. The "sysV" behaviour is unchanged. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message