lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Roberto Ierusalimschy wrote:
> The second bug is much more serious: following a suggestion from Reuben
> Tomas, we increased the limit for the C stack. But we forgot to adjust
> the values of LUA_REGISTRYINDEX and the like, so negative stack indices
> may overlap with these values, with disastrous consequences.

Unfortunately a change to this define would break binary module
compatibility in the 5.1 branch. I guess one has to back down
LUAI_MAXCSTACK to a value well below 10000. Still more than the
2048 limit in 5.1.2.

--Mike