summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-06-12 21:07:52 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2022-06-12 21:07:52 +0000
commit3b59760e249b897684bb3ae67cc7d955aa203b36 (patch)
treecd26e9d5958d61255c5b164381c7e70cfabb6d0e
parentb638ac489f0026230459b57df99188d78be3ce82 (diff)
dvipdfmx: fix a bug due to an uninitialized variable (windows only)
git-svn-id: svn://tug.org/texlive/trunk@63566 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipdfm-x/ChangeLog7
-rw-r--r--Build/source/texk/dvipdfm-x/pdfximage.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfm-x/ChangeLog b/Build/source/texk/dvipdfm-x/ChangeLog
index bf659d06af3..feb38e1fe7a 100644
--- a/Build/source/texk/dvipdfm-x/ChangeLog
+++ b/Build/source/texk/dvipdfm-x/ChangeLog
@@ -1,3 +1,10 @@
+2022-06-13 Akira Kakuto <kakuto@jcom.zaq.ne.jp>
+
+ * pdfximage.c: Fix a bug due to an uninitialized variable
+ pointed out in
+ https://tug.org/pipermail/dvipdfmx/2022-June/000340.html.
+ (Windows only)
+
2022-04-06 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* {dvi,dvipdfmx,tfm}.c, dvi.h:
diff --git a/Build/source/texk/dvipdfm-x/pdfximage.c b/Build/source/texk/dvipdfm-x/pdfximage.c
index bdbd015cfd7..92ee5142d2f 100644
--- a/Build/source/texk/dvipdfm-x/pdfximage.c
+++ b/Build/source/texk/dvipdfm-x/pdfximage.c
@@ -1103,7 +1103,7 @@ ps_include_page (pdf_ximage *ximage, const char *filename, load_options options)
#if defined(_WIN32)
char *utf8temp;
wchar_t *wtemp;
- char *ftest;
+ char *ftest = NULL;
#endif
if (!distiller_template) {
WARN("No image converter available for converting file \"%s\" to PDF format.", filename);