lua-users home
lua-l archive

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

Peter Cawley wrote:
The bug is in ldebug.c's symbexec function again, but exploits the
fact that LOADBOOL with C != 0 isn't checked to see if it jumps over
an extended SETLIST, rather than yesterday's extended SETLIST as the
penultimate instruction.

Has anyone ever tried running a infinite-monkeys test on Lua bytecode? That is, continuously generate garbage input, submit it to the loader, and log cases where it fails erroneously? Infinite-monkey tests are quite easy to write and surprisingly good at picking up validation errors.

David Given