diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-17 15:32:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-01-17 15:32:43 +0000 |
commit | e0ab88fccf99335566d214b53e13683b1391271c (patch) | |
tree | 1cf126fcb186a1779a94672306c9537ddf529e89 /compat_strtonum.c | |
parent | 3786665f3a0f980a9bbbcb5cd8d674cc679491ab (diff) | |
download | mandoc-e0ab88fccf99335566d214b53e13683b1391271c.tar.gz |
Completely delete the buf field of struct html and all the buf*()
interfaces. Such a static buffer was a bad idea in the first place,
causing unfixable truncation that was only prevented by triggering
an assertion failure. Instead, let the small number of remaining
users allocate and free their own, temporary dynamic buffers,
or for the case of .Xr and .In, pass the original data to be
assembled in print_otag().
Diffstat (limited to 'compat_strtonum.c')
0 files changed, 0 insertions, 0 deletions