summaryrefslogtreecommitdiffstats
path: root/lib/libc/crypt/cryptutil.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-12-24 09:57:41 +0000
committerschwarze <schwarze@openbsd.org>2014-12-24 09:57:41 +0000
commit9327b4212797c88b816c2566085d224b3826cf4c (patch)
treeaccc41b822c6725293704be46603a8068b292d14 /lib/libc/crypt/cryptutil.c
parentFix previos. Pointed out by kurt@. (diff)
downloadwireguard-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/crypt/cryptutil.c')
0 files changed, 0 insertions, 0 deletions