Re: [Nagios-devel] status.cgi segfault without hostgroup parameter

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] status.cgi segfault without hostgroup parameter

Post by Guest »

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: [email protected]|com
Web: www.nagios.com





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked