freebsd-nq/lib/libc/db/mpool
Xin LI c9f30aaaf7 When allocating memory, zero out them if we don't intend to overwrite them
all; before freeing memory, zero out them before we release it as free
heap.  This will eliminate some potential information leak issue.

While there, remove the PURIFY option.  There is a slight difference between
the new behavior and the old -DPURIFY behavior, with the latter initializes
memory with 0xff's.  The difference between old and new approach does not
generate observable difference.

Obtained from:	OpenBSD (partly).
2009-03-28 04:00:46 +00:00
..
Makefile.inc
mpool.c When allocating memory, zero out them if we don't intend to overwrite them 2009-03-28 04:00:46 +00:00
mpool.libtp
README

#	@(#)README	8.1 (Berkeley) 6/4/93

These are the current memory pool routines.
They aren't ready for prime time, yet, and
the interface is expected to change.

--keith