lua-users home
lua-l archive

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


> The temporary local value of type proto is left behind by the loadstring call.
> Usually values of that type are completely internal, but debug.getlocal at
> the right moment allowed it to leak out.

Many thanks for the report. A quick fix would be to filter out that
values in lua_getlocal; maybe a better (but more extensive) fix would be
to avoid putting prototypes in the stack in the first place.

-- Roberto