lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 1/26/06, Lisa Parratt <lisa@thecommune.org.uk> wrote:
> LEGO wrote:
> > If it doesn't, Is there a way to protect  the machine from such
> > backward jumps .
>
> Never call the routines directly? Have two threads, one the ethereal
> server, the other the lua client. To communicate between the two, post
> messages back and forth. That way when one or the other uses longjmp
> exceptions, they'll never interfere with each other. Your ethereal
> server exception handlers could be modified to post an error message
> back to the lua client.

That would turn out to be far too slow (ethereal is a protocol
analyzer users process tons of packets with it). More than that I
wanted to avoid having to modify the core routines of ethereal (We
have just the developement branch, so deep changes like these would
impact the user base).

--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan