summaryrefslogtreecommitdiffstats
path: root/demandoc.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-08-18 09:11:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-08-18 09:11:47 +0000
commita85c2bafa990fdb5b501994d2144372b0a789395 (patch)
tree6519db35d517b758fb45c5ae643f3ccd303cb3d1 /demandoc.c
parent63484eb541a34de6d744faf8b22686be28597c50 (diff)
downloadmandoc-a85c2bafa990fdb5b501994d2144372b0a789395.tar.gz
Fix a corner case where \H<nil> (where <nil> is the \0 character) would
cause mandoc_escape() to read past the end of an allocated string. Found when a script scanning of all Mac OSX manual accidentally also scanned binary (gzip'd) files, discussed with schwarze@ on tech@.
Diffstat (limited to 'demandoc.c')
0 files changed, 0 insertions, 0 deletions