lua-users home
lua-l archive

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


On Wed, May 7, 2008 at 1:59 PM, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>  The bugs page will be updated shortly to match this patch file.
>
>  All feedback welcome.
>  --lhf

One note about the bugs page -- the first proof-of-concept code I
wrote to blow the C stack in x86 Lua was quite verbose and unclear.
Perhaps the bugs page could use the simpler and clearer:

a = '\27Lua\81\0\1\4\4\4\8\0'
b = '\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\2\2\0\0\0\30\0\0\0\30\0\0\0\0\0\0\0\1\0\0\0'
while true do b=b..b; loadstring(a..b) end

Not that it matters much; I only bring it up because this code is much
smaller, and my previous code is a bit embarrassing to look at.  :)

Greg F