lua-users home
lua-l archive

longjmp and state

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


Hi,
Lately I been working into embedding Lua into ethereal
(http://www.ethereal.com).
In ethereal we use longjmps to fallback from a dissector that has failed.
So I have a question regarding the impact of these longjmps would have
to the lua machine.
If a routime called by a lua_CFunction longjmps way back (bellow the
point where the lua machine was called) would the lua machine be
still usable?
If it doesn't, Is there a way to protect the machine from such
backward jumps .
Thanks.
Luis
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan

AltStyle によって変換されたページ (->オリジナル) /