[Nagiosplug-devel] [ nagiosplug-Bugs-1469468 ] signal handler in popen.c is totally broken

SourceForge.net noreply at sourceforge.net
Wed Apr 12 12:36:02 CEST 2006


Bugs item #1469468, was opened at 2006-04-12 21:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1469468&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: nsturm (nsturm)
Assigned to: Nobody/Anonymous (nobody)
Summary: signal handler in popen.c is totally broken

Initial Comment:
popen_timeout_alarm_handler() in popen.c is a signal
handler which does all kinds of stuff you better NOT
do in a signal handler. Plugins using this signal
handler should be rewritten to deal with a much simpler
signal handler, doing the bare minimum like setting a
flag.

For a better explanation of all the problems, please
look at
http://www.openbsd.org/papers/opencon04/index.html

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1469468&group_id=29880




More information about the Devel mailing list