aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tbl_data.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-11 16:26:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-11 16:26:08 +0000
commit544fed0e7dababbce66f416055634cc091e20223 (patch)
tree82e8562c51d35ccd5b49f8d32a66ed06382f204a /tbl_data.c
parente99bb4f801d6aa843bd7aeed200250a4bd2a6146 (diff)
downloadmandoc-544fed0e7dababbce66f416055634cc091e20223.tar.gz
mandoc-544fed0e7dababbce66f416055634cc091e20223.tar.zst
mandoc-544fed0e7dababbce66f416055634cc091e20223.zip
Fix a logic error:
When both the first and the third column are spans, do not use the number of columns of the span starting in column two for the span starting in column zero. With afl, Jan Schreiber <jes at posteo dot de> found cases where this caused NULL pointer accesses because too many layout cells were consumed. While here, make the code more similar at the three places that iterate over data cells.
Diffstat (limited to 'tbl_data.c')
0 files changed, 0 insertions, 0 deletions