diff options
author | 2014-12-24 09:57:41 +0000 | |
---|---|---|
committer | 2014-12-24 09:57:41 +0000 | |
commit | 9327b4212797c88b816c2566085d224b3826cf4c (patch) | |
tree | accc41b822c6725293704be46603a8068b292d14 /lib/libc | |
parent | Fix previos. Pointed out by kurt@. (diff) | |
download | wireguard-openbsd-9327b4212797c88b816c2566085d224b3826cf4c.tar.xz wireguard-openbsd-9327b4212797c88b816c2566085d224b3826cf4c.zip |
When a man(7) document contains unreasonably large numbers for
indentations or paragraph distances, large output may be generated,
which is practically the same as an endless loop; found by jsg@
with afl.
Reject such unreasonably large numbers beyond arbitrary limits
similar to those used by groff (max. 65 blank lines between paragraphs
and max. SHRT_MAX characters per output line) and fall back to
defaults when exceeded. Having the limits behave in exactly the
same way is not relevant.
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions