From 082beda64173443df9fd678021fcf187a4b053ad Mon Sep 17 00:00:00 2001 From: Hironobu Yamashita Date: Sun, 23 Oct 2022 00:37:47 +0000 Subject: ptex-base.ch: initialize l in prim_lookup (Y. Morimi) git-svn-id: svn://tug.org/texlive/trunk@64787 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/eptexdir/ChangeLog | 5 +++++ Build/source/texk/web2c/eptexdir/pdfutils.ch | 1 + 2 files changed, 6 insertions(+) (limited to 'Build/source/texk/web2c') 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 + + * pdfutils.ch: Import a patch (2021-06-25 @h20y6m) to + avoid access to uninitialized variables. + 2022-07-17 Andreas Scherer * 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]; -- cgit v1.2.3