diff options
author | phk <phk@FreeBSD.org> | 2001-11-02 11:32:28 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-11-02 11:32:28 +0000 |
commit | 43f68f8842874a57a15e311a43e2dcc92cc1cfb4 (patch) | |
tree | 3bca62f4a508e9043444b16274128b5cb1a7cd6f /lib/libc/regex | |
parent | d88ecc48a577b7e835d80ab8eec6b5c867a10ce6 (diff) | |
download | FreeBSD-src-43f68f8842874a57a15e311a43e2dcc92cc1cfb4.zip FreeBSD-src-43f68f8842874a57a15e311a43e2dcc92cc1cfb4.tar.gz |
phkmalloc->evilchecks++;
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.
Inspired & Urged by: Theo de Raadt <deraadt@cvs.openbsd.org>
Diffstat (limited to 'lib/libc/regex')
0 files changed, 0 insertions, 0 deletions