aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_macro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-16 03:53:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-16 03:53:43 +0000
commita055c5a463de86365cc98c7fec31a8184cbf1674 (patch)
tree48ffddf4aa88a2714fec372fd2c22ad738a84d24 /man_macro.c
parentb58b21eb48153dd03bf34c28c5dd4c50bb815825 (diff)
downloadmandoc-a055c5a463de86365cc98c7fec31a8184cbf1674.tar.gz
mandoc-a055c5a463de86365cc98c7fec31a8184cbf1674.tar.zst
mandoc-a055c5a463de86365cc98c7fec31a8184cbf1674.zip
When a string comparison condition contains no mismatching character
but ends without the final delimiter, the parse point was advanced one character too far and the invalid pointer returned to the caller of roff_parseln(). Later use could potentially advance the pointer even further and maybe even write to it. Fixing a buffer overrun found by jsg@ with afl (the most severe so far).
Diffstat (limited to 'man_macro.c')
0 files changed, 0 insertions, 0 deletions