summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
authorHironobu Yamashita <h.y.acetaminophen@gmail.com>2022-10-23 00:37:47 +0000
committerHironobu Yamashita <h.y.acetaminophen@gmail.com>2022-10-23 00:37:47 +0000
commit082beda64173443df9fd678021fcf187a4b053ad (patch)
tree2f2c1d9aa2c3ccf003e87743790c8a86ad2b73c8 /Build/source/texk/web2c
parent882070b00aa7ce7b73475941d1c19c79904fdb7c (diff)
ptex-base.ch: initialize l in prim_lookup (Y. Morimi)
git-svn-id: svn://tug.org/texlive/trunk@64787 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/eptexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/eptexdir/pdfutils.ch1
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog
index 1840730be27..0f3ed6cc5aa 100644
--- a/Build/source/texk/web2c/eptexdir/ChangeLog
+++ b/Build/source/texk/web2c/eptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2022-10-23 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * pdfutils.ch: Import a patch (2021-06-25 @h20y6m) to
+ avoid access to uninitialized variables.
+
2022-07-17 Andreas Scherer <https://ascherer.github.io>
* pdfutils.ch: Adapt to upstream tex.ch.
diff --git a/Build/source/texk/web2c/eptexdir/pdfutils.ch b/Build/source/texk/web2c/eptexdir/pdfutils.ch
index 611435b9135..fdc6aeee240 100644
--- a/Build/source/texk/web2c/eptexdir/pdfutils.ch
+++ b/Build/source/texk/web2c/eptexdir/pdfutils.ch
@@ -549,6 +549,7 @@ begin
if s<=biggest_char then begin
if s<0 then begin p:=undefined_primitive; goto found; end
else p:=(s mod prim_prime)+prim_base; {we start searching here}
+ l:=1
end
else begin
j:=str_start[s];