diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2020-09-01 10:52:38 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2020-09-01 10:52:38 +0000 |
commit | 0fb16338aa6fe27e03efc9d7cb939d2c5cedec41 (patch) | |
tree | e4513fa7f135364c07df899a5a7bb83acfccff10 /Build/source/texk/web2c | |
parent | 563b002bc897a7f60cc6dce7ed99deefaa368034 (diff) |
eptexdir/pdfutils.ch: sync with pdftex and xetex r56230
git-svn-id: svn://tug.org/texlive/trunk@56233 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/eptexdir/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/eptexdir/pdfutils.ch | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/eptexdir/ChangeLog b/Build/source/texk/web2c/eptexdir/ChangeLog index ddb5dc477df..3360fd625ec 100644 --- a/Build/source/texk/web2c/eptexdir/ChangeLog +++ b/Build/source/texk/web2c/eptexdir/ChangeLog @@ -1,3 +1,9 @@ +2020-09-01 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * pdfutils.ch (Scan the argument for command |c|) <expanded_code>: + free_avail(def_ref) to avoid memory exhaustion with many \expanded. + (Sync with pdftex.web and xetex.web changes r56230.) + 2020-07-19 Karl Berry <karl@freefriends.org> * char-warning-eptex.ch: new file (see ../pdftexdir/ChangeLog). diff --git a/Build/source/texk/web2c/eptexdir/pdfutils.ch b/Build/source/texk/web2c/eptexdir/pdfutils.ch index c8ccd05ed82..cfb228eb48a 100644 --- a/Build/source/texk/web2c/eptexdir/pdfutils.ch +++ b/Build/source/texk/web2c/eptexdir/pdfutils.ch @@ -967,6 +967,7 @@ expanded_code: warning_index := save_warning_index; scanner_status := save_scanner_status; ins_list(link(def_ref)); + free_avail(def_ref); def_ref := save_def_ref; restore_cur_string; return; |