From owner-cvs-all Fri Nov 2 3:34:39 2001 Delivered-To: cvs-all@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id 909AD37B403; Fri, 2 Nov 2001 03:34:29 -0800 (PST) Received: from cain.gsoft.com.au (root@localhost [127.0.0.1]) by midget.dons.net.au (8.11.6/8.11.6) with ESMTP id fA2BYQf43104; Fri, 2 Nov 2001 22:04:26 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111021132.fA2BWSs53697@freefall.freebsd.org> Date: Fri, 02 Nov 2001 22:04:28 +1030 (CST) From: "Daniel O'Connor" To: Poul-Henning Kamp Subject: RE: cvs commit: src/lib/libc/stdlib malloc.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 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? --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message