summaryrefslogtreecommitdiff
path: root/print/mupdf/patches/patch-CVE-2017-14685
diff options
context:
space:
mode:
Diffstat (limited to 'print/mupdf/patches/patch-CVE-2017-14685')
-rw-r--r--print/mupdf/patches/patch-CVE-2017-1468520
1 files changed, 0 insertions, 20 deletions
diff --git a/print/mupdf/patches/patch-CVE-2017-14685 b/print/mupdf/patches/patch-CVE-2017-14685
deleted file mode 100644
index eb9154635d2..00000000000
--- a/print/mupdf/patches/patch-CVE-2017-14685
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-CVE-2017-14685,v 1.1 2017/10/25 11:00:03 leot Exp $
-
-Fix 698539: Don't use xps font if it could not be loaded.
-(AKA CVE-2017-14685)
-
-xps_load_links_in_glyphs did not cope with font loading failures.
-
-From upstream commit ab1a420613dec93c686acbee2c165274e922f82a
-
---- source/xps/xps-link.c.orig
-+++ source/xps/xps-link.c
-@@ -91,6 +91,8 @@ xps_load_links_in_glyphs(fz_context *ctx, xps_document *doc, const fz_matrix *ct
- bidi_level = atoi(bidi_level_att);
-
- font = xps_lookup_font(ctx, doc, base_uri, font_uri_att, style_att);
-+ if (!font)
-+ return;
- text = xps_parse_glyphs_imp(ctx, doc, &local_ctm, font, fz_atof(font_size_att),
- fz_atof(origin_x_att), fz_atof(origin_y_att),
- is_sideways, bidi_level, indices_att, unicode_att);