summaryrefslogtreecommitdiff
path: root/mesecons_solarpanel/doc/solarpanel/description.html
diff options
context:
space:
mode:
authorPedro Gimeno <pgimeno@email.fake>2016-03-14 14:29:34 +0100
committerJeija <norrepli@gmail.com>2016-04-02 17:31:40 +0200
commitb487783c239d75338254ae8bc7250ba6141d67a6 (patch)
treea65c76a3bd155e64e49ff756038039f0a414dd43 /mesecons_solarpanel/doc/solarpanel/description.html
parent72e513ecbdf8273c89d8a79b518d9d0fbedb3f90 (diff)
downloadmesecons-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_solarpanel/doc/solarpanel/description.html')
0 files changed, 0 insertions, 0 deletions