summaryrefslogtreecommitdiffstats
path: root/libman.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2010-12-21 01:22:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2010-12-21 01:22:03 +0000
commit89afd774a62676944d20a0310ee40c58522e2c3e (patch)
tree2b35ffa204eb7c7e2b07198d1ab1433f44ce74b1 /libman.h
parent2dd3befffd75653b5591451707b63f7343e9670c (diff)
downloadmandoc-89afd774a62676944d20a0310ee40c58522e2c3e.tar.gz
Sane behaviour for the growing of very small buffers:
Always grow at least to the minimum requested size. Before this, a buffer of 1 byte was grown to 2 bytes, which was too small and sometimes caused segfaults. ok kristaps@
Diffstat (limited to 'libman.h')
0 files changed, 0 insertions, 0 deletions