diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-12-12 22:29:06 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2020-12-12 22:29:06 +0000 |
commit | cf4c1d3508ce7ae05327c5bb55d6654260f5efaf (patch) | |
tree | 04de7089dbfc6cd149b7a7ac21f6d2b79947c3ce /Build/source/texk/web2c/luatexdir | |
parent | 5c5f559b92567cd53a5d7e1b943bdef461879d96 (diff) |
luatex: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@57118 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lang/texlang.c | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex_svnversion.h | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index f5263052f57..df08c7c87c0 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2020-12-12 Luigi Scarso <luigi.scarso@gmail.com> + * fixed luatex segfault with huge romannumeral overfull (H. Hagen) + * automake (GNU automake) 1.16.3 + 2020-11-08 Luigi Scarso <luigi.scarso@gmail.com> * convert assert(is_simple_character(wordstart)) to tex error diff --git a/Build/source/texk/web2c/luatexdir/lang/texlang.c b/Build/source/texk/web2c/luatexdir/lang/texlang.c index 48a242fa09b..453d51404c6 100644 --- a/Build/source/texk/web2c/luatexdir/lang/texlang.c +++ b/Build/source/texk/web2c/luatexdir/lang/texlang.c @@ -1023,6 +1023,12 @@ void hnj_hyphenation(halfword head, halfword tail) break; } wordlen++; + if (wordlen >= MAX_WORD_LEN) { + while (r && type(r) == glyph_node) { + r = vlink(r); + } + goto PICKUP; + } if (lchar <= 32) { if (lchar == 32) { lchar = 0 ; @@ -1140,6 +1146,7 @@ void hnj_hyphenation(halfword head, halfword tail) } } } +PICKUP: expstart = null ; explicit_hyphen = false; wordlen = 0; diff --git a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h index 79ee57b5b8c..6b0f5bcc71c 100644 --- a/Build/source/texk/web2c/luatexdir/luatex_svnversion.h +++ b/Build/source/texk/web2c/luatexdir/luatex_svnversion.h @@ -1 +1 @@ -#define luatex_svn_revision 7387 +#define luatex_svn_revision 7388 |