Time |
Nick |
Message |
00:18 |
|
Alias2 joined #minetest-dev |
00:27 |
|
v-rob joined #minetest-dev |
01:14 |
|
v-rob joined #minetest-dev |
03:28 |
|
queria joined #minetest-dev |
03:34 |
|
queria joined #minetest-dev |
03:37 |
|
v-rob joined #minetest-dev |
05:00 |
|
MTDiscord joined #minetest-dev |
05:07 |
|
Yad joined #minetest-dev |
07:17 |
|
calcul0n joined #minetest-dev |
07:25 |
|
v-rob joined #minetest-dev |
09:08 |
|
tekakutli joined #minetest-dev |
10:06 |
|
Fleckenstein joined #minetest-dev |
10:11 |
|
Fixer joined #minetest-dev |
10:37 |
sfan5 |
neat idea but also insecure because <string type>:sub can be modified |
10:37 |
sfan5 |
(you can use env.string.sub) |
10:49 |
sfan5 |
and you'll also want to use setfenv so the newly imported code actually runs entirely in the non-sandbox environment |
11:50 |
|
HuguesRoss joined #minetest-dev |
11:50 |
|
HuguesRoss joined #minetest-dev |
12:58 |
MTDiscord |
<savilli> Well, redis module also calls str:gsub where str is input. Can't do anything about it ig. |
13:00 |
rubenwardy |
strnig table should be readonly and protected, with _metatable |
13:03 |
sfan5 |
don't think that's possible |
14:23 |
|
Fleckenstein joined #minetest-dev |
14:56 |
MTDiscord |
<luatic> not possible without compromising performance and will also break mods that rely on extending it |
14:57 |
MTDiscord |
<luatic> being able to mark tables as readonly has been requested for a while on the lua mailing list it seems ;P |
14:57 |
MTDiscord |
<luatic> but currently the best "solution" available is a proxy object with a metatable, which turns out to be slow |
14:58 |
|
EliasFleckenstei joined #minetest-dev |
14:58 |
MTDiscord |
<luatic> savilli: I just tell my users prominently in the readme that they trust all enabled mods when trusting mine. |
14:59 |
MTDiscord |
<savilli> ofc there is a warning in the readme |
14:59 |
|
EliasFleckenstei joined #minetest-dev |
15:01 |
|
EliasFleckenstei joined #minetest-dev |
15:01 |
|
Fleckenstein joined #minetest-dev |
16:13 |
|
olliy joined #minetest-dev |
17:29 |
|
olliy1or joined #minetest-dev |
17:58 |
|
x2048 joined #minetest-dev |
18:08 |
|
Yad_ joined #minetest-dev |
18:08 |
|
v-rob joined #minetest-dev |
18:20 |
|
olliy joined #minetest-dev |
18:38 |
|
v-rob joined #minetest-dev |
19:45 |
|
Toothless joined #minetest-dev |
20:13 |
|
appguru joined #minetest-dev |
21:27 |
|
olliy joined #minetest-dev |
22:08 |
|
v-rob joined #minetest-dev |
22:14 |
|
queria joined #minetest-dev |
22:49 |
|
wsor joined #minetest-dev |
23:43 |
|
Taoki joined #minetest-dev |
23:57 |
|
mister-e[m] joined #minetest-dev |
23:58 |
|
queria[m] joined #minetest-dev |