diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/lua/ltexlib.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index 52003abece7..5081c7db9a6 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2012-05-18 Taco Hoekwater <taco@luatex.org> + + * lua/ltexlib.c: fix a ConTeXt crash on `\endinput \end`. + 2012-05-18 Khaled Hosny <khaledhosny@eglug.org> * tex/commands.h, tex/commands.w, tex/maincontrol.h, diff --git a/Build/source/texk/web2c/luatexdir/lua/ltexlib.c b/Build/source/texk/web2c/luatexdir/lua/ltexlib.c index 3cdead69c48..b46df34ec06 100644 --- a/Build/source/texk/web2c/luatexdir/lua/ltexlib.c +++ b/Build/source/texk/web2c/luatexdir/lua/ltexlib.c @@ -261,6 +261,9 @@ void luacstring_close(int n) free(next->text); t = next; next = next->next; + if (t==read_spindle.tail) { + read_spindle.tail = NULL; /* prevent double free */ + } free(t); } read_spindle.head = NULL; |