diff options
author | 2010-12-21 01:22:03 +0000 | |
---|---|---|
committer | 2010-12-21 01:22:03 +0000 | |
commit | 0fc999dcd0160527c2539c66f03e914f5678f5c8 (patch) | |
tree | 944cceacf12f832dd1d175295f6548004dc4d88a /regress/man/AT | |
parent | 85c74441826371ba4a7f855c3400e2694aa595d5 (diff) | |
download | mandoc-0fc999dcd0160527c2539c66f03e914f5678f5c8.tar.gz mandoc-0fc999dcd0160527c2539c66f03e914f5678f5c8.tar.zst mandoc-0fc999dcd0160527c2539c66f03e914f5678f5c8.zip |
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 'regress/man/AT')
0 files changed, 0 insertions, 0 deletions