[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 答复: [ 5.4 work2 ] Stack overflow causes crash
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 19 Dec 2018 17:37:48 -0200
> I wonder how many of them crash if you do
>
> local function f(s) s:gsub(".", f) return "x" end f("foo")
>
> and more to the point, how many of them will crash on that code if they
> switch to 5.4 without realizing the default stack depth grew 10x.
Since you already have access to an official release of Lua 5.4, you
could send me a copy. It would save me a lot of work...
-- Roberto