retitle 374996 kills all your processes (including browser) on open a web page 
with flash
severity 374996 critical
# Justification: may cause data loss
thanks

This is really horrid.  I think I'll refrain from running gnash at all without
disabling (commenting out, at least) this part of the code first.  :)

Although I can see this code is an ugly kludge (seems prone to introduce race
conditions), I don't understand well what the "::" C++ magic is doing.  Someone
could explain?

            void (*oldhandler)(int) = signal(SIGTERM, SIG_IGN);
            ::kill (-1 * ::getpid (), SIGTERM);
            signal(SIGTERM, oldhandler);

I think there's another signal that is sent automaticaly to all its children
when a process dies.  Can't this be used for cleanup instead?

-- 
Robert Millan

My spam trap is [EMAIL PROTECTED]  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to