[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Simulating Lua states in Lua with only 250 lines of code
- From: steve donovan <steve.j.donovan@...>
- Date: Fri, 26 Jun 2015 07:59:11 +0200
On Thu, Jun 25, 2015 at 7:17 PM, Soni L. <fakedme@gmail.com> wrote:
> I mean, you'd be running untrusted code...
There's no clean solution to that problem. For instance, I switch off
the string metatable temporarily when loading code in 'paranoid' mode,
but there are simple hacks ('the billion lols') which cause bad
behaviour even if the string methods are unavailable.