status.cgi segfault without hostgroup parameter on solaris 10

Ethan Galstad egalstad at nagios.org
Mon Oct 4 04:49:11 CEST 2010


Michael Friedrich wrote:
> Hi,
> 
> regarding the tracker issue http://tracker.nagios.org/view.php?id=120
> 
> I recently fixed that issue on the Icinga CGIs, i've re-checked on
> Nagios CGIs and the SIGSEGV still happens on Solaris 10.
> 
> Reproducable on my Solaris box. So the issue is not resolved, yet still
> exists.
> 
> Please check https://dev.icinga.org/issues/594 for further explanations.
> To conclude with, it's again printf("%s", NULL) on Solaris.
> 
> Since it's rather trivial to fix, I decided to create a patch for Nagios
> too. Attached GIT diff against latest HEAD resolves those issues,
> changing behavior to 'all' when no parameters are provided.
> 
> Kind regards,
> Michael
> 
> 
> PS: Any chance moving Nagios to GIT in the near future?

Its probably better to patch url_encode().  I'm committing a simple
patch that most likely fixes the problem.  Can you verify if it fixes
things on Solaris?

-- 
Ethan Galstad
Father of Nagios
___
Email:  egalstad at nagios.org|com
Web:    www.nagios.com

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d




More information about the Developers mailing list