]> git.cameronkatri.com Git - mandoc.git/commit
When the last line of a table layout turns out to be empty, it is deleted.
authorIngo Schwarze <schwarze@openbsd.org>
Wed, 29 Apr 2015 12:44:58 +0000 (12:44 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Wed, 29 Apr 2015 12:44:58 +0000 (12:44 +0000)
commit0745d78af02f9484ee3018377936265fe41b4858
tree737e2c42d5a8c3e1532c93ba2bb70c87268978fa
parent973dc20bd12937b90f98a0ba7c750c4f7b189719
When the last line of a table layout turns out to be empty, it is deleted.
Do not just free the struct tbl_row but also make sure that no pointer
to it remains.  Fixing a use after free found by jsg@ with afl.
tbl_layout.c