diff options
author | Pedro Gimeno <pgimeno@email.fake> | 2016-03-14 14:29:34 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2016-04-02 17:31:40 +0200 |
commit | b487783c239d75338254ae8bc7250ba6141d67a6 (patch) | |
tree | a65c76a3bd155e64e49ff756038039f0a414dd43 /mesecons_insulated/textures/jeija_insulated_wire_curved_tb_off.png | |
parent | 72e513ecbdf8273c89d8a79b518d9d0fbedb3f90 (diff) | |
download | mesecons-b487783c239d75338254ae8bc7250ba6141d67a6.tar mesecons-b487783c239d75338254ae8bc7250ba6141d67a6.tar.gz mesecons-b487783c239d75338254ae8bc7250ba6141d67a6.tar.bz2 mesecons-b487783c239d75338254ae8bc7250ba6141d67a6.tar.xz mesecons-b487783c239d75338254ae8bc7250ba6141d67a6.zip |
Disable JIT optimization for user code and allow string.find in plain mode
Disabling LuaJIT for user code enables normal working of debug.sethook() even for loops. The drawback is that that code will run more slowly.
The fourth parameter of string.find indicates whether the second parameter should be interpreted literally (true) or as a pattern (false). Allowing patterns enables DoS attacks, but it's possible to
allow literal matching with little effort, by disallowing the function only if the fourth parameter (plain mode) is not `true`.
Diffstat (limited to 'mesecons_insulated/textures/jeija_insulated_wire_curved_tb_off.png')
0 files changed, 0 insertions, 0 deletions