[Opendnssec-develop] [OpenDNSSEC] #195: Robust handling of external command calls

OpenDNSSEC owner-dnssec-trac at kirei.se
Thu Nov 11 03:53:14 UTC 2010


#195: Robust handling of external command calls
-----------------------------------------------------+----------------------
Reporter:  Sebastian Castro <sebastian@…>            |       Owner:  sion    
    Type:  defect                                    |      Status:  new     
Priority:  minor                                     |   Component:  Enforcer
 Version:  trunk                                     |    Keywords:          
-----------------------------------------------------+----------------------
 If an external command like DelegationSignerSubmitCommand or NotifyCommand
 fails in a way that goes unnoticed for popen, currently OpenDNSSEC can't
 detect it.

 Attached you will find a C code that tries to popen a perl script, which
 contains a syntax error. Neither popen nor fprintf detect the error, only
 at pclose a SIGPIPE signal is sent. This means the failure goes under the
 radar.

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/195>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list