[Dev-luatex] Memory leak in string.explode()?
Taco Hoekwater
taco at elvenkind.com
Mon Nov 5 10:00:29 CET 2012
On 11/05/2012 07:40 AM, minux wrote:
>
> On Mon, Nov 5, 2012 at 9:32 AM, Reinhard Kotucha
> <reinhard.kotucha at web.de <mailto:reinhard.kotucha at web.de>> wrote:
>
> ---------------------------------
> #! /usr/bin/env texlua
> --*- Lua -*-
>
> s='abc def'; t=s.explode(' +')
> s=' abc def'; t=s:explode(' +')
> s='abc def '; t=s:explode(' +')
> ---------------------------------
>
> Each of the tree lines results in a core dump with rev 4468. They
> don't crash in current TeX Live, though there are no complaints about
> the syntax error in the first line (s is a string here, not a table).
>
> Please try the simple patch attached.
Thanks, applied. Sorry, I must have been half sleeping yesterday.
Best wishes,
Taco
More information about the dev-luatex
mailing list