summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-02 11:32:28 +0000
committerphk <phk@FreeBSD.org>2001-11-02 11:32:28 +0000
commit43f68f8842874a57a15e311a43e2dcc92cc1cfb4 (patch)
tree3bca62f4a508e9043444b16274128b5cb1a7cd6f /lib/libc/regex
parentd88ecc48a577b7e835d80ab8eec6b5c867a10ce6 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud