diff options
author | Wolf | 2019-12-21 20:13:02 +0100 |
---|---|---|
committer | Wolf | 2019-12-21 20:13:02 +0100 |
commit | b294bc01a89cbd005cd4f94e12acfed48b1fb7cb (patch) | |
tree | 05e8ce07c52e111bfb12f3d1a9cb064ec21eec2e /group-base/patches | |
parent | c0cfea6141d4f1829b1b28506d43ca3734e36477 (diff) | |
download | portage-roles-b294bc01a89cbd005cd4f94e12acfed48b1fb7cb.tar.gz |
group-base: Include segfault fix for mandoc-1.14.5
This is already fixed upstream but no new release has been made.
Diffstat (limited to 'group-base/patches')
-rw-r--r-- | group-base/patches/sys-apps/mandoc-1.14.5/fix-empty-tbl-nullptr.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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. */ |