aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/compat_strlcpy.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-09-18 15:22:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-09-18 15:22:08 +0000
commit3e60e11433f93686186391d27f5b2c8104dac503 (patch)
treeaae81553cbb2743f0e03a3adc024e56dfbf3dcd9 /compat_strlcpy.c
parentf9af2dc93167d66751a64bd05173086b7ec03e2d (diff)
downloadmandoc-3e60e11433f93686186391d27f5b2c8104dac503.tar.gz
mandoc-3e60e11433f93686186391d27f5b2c8104dac503.tar.zst
mandoc-3e60e11433f93686186391d27f5b2c8104dac503.zip
Make sure an output device is allocated before calling terminal_sepline(),
fixing a NULL pointer access that happened when the first of multiple pages shown was preformatted, as in "man -a groff troff". Crash reported by <jmates at ee dot washington dot edu> on bugs@, thanks!
Diffstat (limited to 'compat_strlcpy.c')
0 files changed, 0 insertions, 0 deletions