summaryrefslogtreecommitdiffstats
path: root/test-strlcpy.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-08-17 08:37:11 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-08-17 08:37:11 +0000
commit682d74323d2362b8bc269b5f773b2b6e7d1208c5 (patch)
treecd3530d7ba0312263939d1cdb05965cb6f010ec2 /test-strlcpy.c
parente88e13e117e3b7d9de27952e40bb54cc9f589074 (diff)
downloadmandoc-682d74323d2362b8bc269b5f773b2b6e7d1208c5.tar.gz
Protect against accessing "n->next->child" by first checking "n->next".
Noticed in a crash against ".It Nm Fo" with no closing "Fc". Original patch expanded by schwarze@ then extended even more.
Diffstat (limited to 'test-strlcpy.c')
0 files changed, 0 insertions, 0 deletions