Debugged a deadlock in the fuzzing plugin and found out that a the lua function loadfile has a problem with nil value.
Smaller code:
print("loading...")
loadfile(nil) -- DEADLOCK
print("loaded")
Edit: Also occurs on lua 5.3
It's strange, but I doubt we can do much to fix it except removing it from the API.
I've grown tired of the syntax highlighter not working, so I put the Javascript and CSS files inside the thread template manually. Now the syntax highlighter works again. I noticed some weird behavior with the [code] and [url] tag after messing around with the settings, but it seems they are resolved now. There is also the issue where a quick edit with a shcode tag will result in Json being displayed inside the post, but that's a visual glitch which is resolved after reloading the page.
It's not a deadlock. loadfile(), when called without valid parameters, loads the file from stdin.
Ref.:
https://www.lua.org/manual/5.1/manual.html#pdf-loadfile
We should probably wrap the function in a wrapper that disallows the stdin reading and return an error instead. There are probably more functions with similar behavior.
It really smelled like a deadlock
Yes adding a wrapper should be a good idea.
Apropos spam protection: best spam filter ever is still the one I enrolled on our forum a few month ago: single sign on with a custom user control service

mybb registration is locked down by an api key, there hasn't been one spammed in month. (to be fair, the old forum, flarum, didn't have Spammers before, just once, but I think it's the forum software that caused this)
On Tuesday we took a day off with my girlfriend and went for a hike. Great place (ring any bell, STR?), pity that the wind was rather strong, so I didn't dare fly the quadcopter in there, would have been a great video. Well at least I have a nice photo together
![[Image: _20170613_123843.jpg]](http://xoft.cz/img/_20170613_123843.jpg)
Looks like it's just as beautiful as the day I was there
I hope you both have a great time there
