~reviczky/luatex/texlive-bin-git

« back to all changes in this revision

Viewing changes to debian/patches/upstream-svn35516-dvipdfmx-fix-crash-missing-fontmap

  • Committer: Adam Reviczky
  • Date: 2015-04-26 10:59:34 UTC
  • Revision ID: adam.reviczky@kclalumni.net-20150426105934-d1rh9g3mjwtc9pnq
TeX Live pre-2015 import (20150305.36438)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
---
2
 
 texk/dvipdfm-x/ChangeLog |    5 +++++
3
 
 texk/dvipdfm-x/dpxfile.c |    6 ++++--
4
 
 2 files changed, 9 insertions(+), 2 deletions(-)
5
 
 
6
 
--- texlive-bin.orig/texk/dvipdfm-x/ChangeLog
7
 
+++ texlive-bin/texk/dvipdfm-x/ChangeLog
8
 
@@ -1,3 +1,8 @@
9
 
+2014-11-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
10
 
+
11
 
+       * dpxfile.c: Check if fqpn == NULL in dpx_open_file(), because
12
 
+       MESG (fqpn) crashes if fqpn == NULL.
13
 
+
14
 
 2014-10-29  Shunsaku Hirata  <shunsaku.hirata74@gmail.com>
15
 
 
16
 
        * pkfont.c: Cast unsigned integers when they appear in subtractions
17
 
--- texlive-bin.orig/texk/dvipdfm-x/dpxfile.c
18
 
+++ texlive-bin/texk/dvipdfm-x/dpxfile.c
19
 
@@ -413,8 +413,10 @@
20
 
   switch (type) {
21
 
   case DPX_RES_TYPE_FONTMAP:
22
 
     fqpn = dpx_find_fontmap_file(filename);
23
 
-    if (verbose) 
24
 
-      MESG(fqpn);
25
 
+    if (verbose) {
26
 
+      if (fqpn != NULL)
27
 
+        MESG(fqpn);
28
 
+    }
29
 
     break;
30
 
   case DPX_RES_TYPE_T1FONT:
31
 
     fqpn = dpx_find_type1_file(filename);