From b294bc01a89cbd005cd4f94e12acfed48b1fb7cb Mon Sep 17 00:00:00 2001 From: Wolf Date: Sat, 21 Dec 2019 20:13:02 +0100 Subject: group-base: Include segfault fix for mandoc-1.14.5 This is already fixed upstream but no new release has been made. --- .../mandoc-1.14.5/fix-empty-tbl-nullptr.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 group-base/patches/sys-apps/mandoc-1.14.5/fix-empty-tbl-nullptr.patch (limited to 'group-base/patches') diff --git a/group-base/patches/sys-apps/mandoc-1.14.5/fix-empty-tbl-nullptr.patch b/group-base/patches/sys-apps/mandoc-1.14.5/fix-empty-tbl-nullptr.patch new file mode 100644 index 0000000..8e2d249 --- /dev/null +++ b/group-base/patches/sys-apps/mandoc-1.14.5/fix-empty-tbl-nullptr.patch @@ -0,0 +1,22 @@ +--- a/tbl_term.c 2019-11-08 16:58:41.628382060 +0100 ++++ b/tbl_term.c 2019-11-08 16:59:56.127323602 +0100 +@@ -626,7 +626,8 @@ + + lw = cpp == NULL || cpn == NULL || + (cpn->pos != TBL_CELL_DOWN && +- (dpn == NULL || strcmp(dpn->string, "\\^") != 0)) ++ (dpn == NULL || dpn->string == NULL || ++ strcmp(dpn->string, "\\^") != 0)) + ? hw : 0; + tbl_direct_border(tp, BHORIZ * lw, + col->width + col->spacing / 2); +@@ -670,7 +671,8 @@ + + rw = cpp == NULL || cpn == NULL || + (cpn->pos != TBL_CELL_DOWN && +- (dpn == NULL || strcmp(dpn->string, "\\^") != 0)) ++ (dpn == NULL || dpn->string == NULL || ++ strcmp(dpn->string, "\\^") != 0)) + ? hw : 0; + + /* The line crossing at the end of this column. */ -- cgit v1.2.3-2-gb3c3