Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 05/03/2001 18:35:13
Module Name:	basesrc
Committed By:	christos
Date:		Thu May  3 15:35:13 UTC 2001

Modified Files:
	basesrc/lib/libc/stdlib: malloc.c

Log Message:
PR/12810: Chris ?: malloc core-dumps when given large number as the argument.
This is because integer overflow occurs in the computation of the size of
the page directory array. We now detect that, and return ENOMEM.


To generate a diff of this commit:
cvs rdiff -r1.36 -r1.37 basesrc/lib/libc/stdlib/malloc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.