[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Small variation of #5.1.3-5 crashes Lua 5.3.0
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 26 Feb 2015 21:50:29 -0300
> PS It's easy to crash Lua with a malformed binary chunk. I wonder
> if it's supposed to be robust.
It's not supposed to be robust. In Lua 5.2, We gave up all attempts
at providing robust loading of precompiled chunks after Peter Cawley
completely shot down the bytecode checker.
Instead, we have provided the ability for the user to choose whether
to trust precompiled chunks as an option to load.