summaryrefslogtreecommitdiffstats
path: root/usr.bin/cvs/diff3.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2006-10-24 04:35:30 +0000
committertedu <tedu@openbsd.org>2006-10-24 04:35:30 +0000
commit66e23c51d017082140fbe2ea4dc683819862f8c9 (patch)
tree7ac3a63f82ea23b79b5a001836005fb05f197e3e /usr.bin/cvs/diff3.c
parentCheck that string length != 0 before setting buf[strlen(buf) - 1]. (diff)
downloadwireguard-openbsd-66e23c51d017082140fbe2ea4dc683819862f8c9.tar.xz
wireguard-openbsd-66e23c51d017082140fbe2ea4dc683819862f8c9.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 'usr.bin/cvs/diff3.c')
0 files changed, 0 insertions, 0 deletions