aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/tbl
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-03-09 15:29:35 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-03-09 15:29:35 +0000
commit1bcee936fd224aaaa41b2710414512ea400c79f0 (patch)
treeb15bd35d9233f4a9812e757a5bbcd69455538f15 /regress/tbl
parent45fc5a37fb711aa526cb48490fba3c3c2ec09adc (diff)
downloadmandoc-1bcee936fd224aaaa41b2710414512ea400c79f0.tar.gz
mandoc-1bcee936fd224aaaa41b2710414512ea400c79f0.tar.zst
mandoc-1bcee936fd224aaaa41b2710414512ea400c79f0.zip
Fix blunder in previous: we must keep the line parse buffer
consistent even when aborting the parsing of the line. That buffer is not our own, but owned and reused by mparse_buf_r(), read.c. Returning without cleanup leaked memory and caused write overruns of the old, typically much smaller buffer in mparse_buf_r(). Promptly noticed by tb@ with afl(1), using MALLOC_OPTIONS=C.
Diffstat (limited to 'regress/tbl')
0 files changed, 0 insertions, 0 deletions