summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtod.c
diff options
context:
space:
mode:
authortedu <>2006-10-24 04:35:30 +0000
committertedu <>2006-10-24 04:35:30 +0000
commit182ec138408d8727b97aa8a6b7faef3a1c05037b (patch)
treef4d3456af2c02712b0b326b7e2de95295cbe24a3 /src/lib/libc/stdlib/strtod.c
parente1dcd644aa891adcbd561d7688084819368c4139 (diff)
downloadopenbsd-182ec138408d8727b97aa8a6b7faef3a1c05037b.tar.gz
openbsd-182ec138408d8727b97aa8a6b7faef3a1c05037b.tar.bz2
openbsd-182ec138408d8727b97aa8a6b7faef3a1c05037b.zip
respond to ben hawkes's ruxcon presentation.
create special allocators for pginfo and pgfree structs instead of imalloc. this keeps them separated from application memory. for chunks, to prevent deterministic reuse, keep a small array and swizzle the to be freed chunk with a random previously freed chunk. this last bit only for chunks because keeping arbitrarily large regions of pages around may cause out of memory issues (and pages are, to some extent, returned in random order). all changes enabled by default. thanks to ben for pointing out these issues. ok tech@
Diffstat (limited to 'src/lib/libc/stdlib/strtod.c')
0 files changed, 0 insertions, 0 deletions