[sldev] About to mess with the LSL compiler
Felix Duesenburg
kfa at gmx.net
Wed Apr 9 05:55:02 PDT 2008
Hi @,
I was about to try a take on VWR-5714 (switch/case statement for LSL)
and couldn't dig up whether the following questions have been brought up
before:
How dangerous is it to mess with the bytecode?
When the viewer compiles a script and uploads it, does the server verify
it in any way?
I've read the warning in the script library about adding functions, but
what about the language structure itself?
If I get it wrong during development, could it potentially crash a
region, impair its performance, or even cause other residents' scripts
to malfunction?
Ultimately: Could a hacker with malicious intent wreak havoc by
introducing faulty bytecode this way?
For now, I've just submitted a patch to MISC-431 (LSL multiline
comments), but this was only a little tweak in the parser which didn't
generate any code. I want to stay on the side of caution before digging
any deeper.
If this has been discussed earlier, I'd appreciate a pointer.
Felix
More information about the SLDev
mailing list