[Nagios-devel] Nagios 3.0rc1 extinfo.cgi Segmentation fault

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

[Nagios-devel] Nagios 3.0rc1 extinfo.cgi Segmentation fault

Post by Guest »

Hi List,
calling extinfi.cgi with non existing Host or Service values via QUERY_STRI=
NG results in a segmentation fault

Now some debug infos ...

0 - [nagios@kassandra /usr/local/src/nagios-3.0rc1/cgi]$ export REMOTE_USER=
=3Dlinge
0 - [nagios@kassandra /usr/local/src/nagios-3.0rc1/cgi]$ export REQUEST_MET=
HOD=3DGET
0 - [nagios@kassandra /usr/local/src/nagios-3.0rc1/cgi]$ export QUERY_STRIN=
G=3D"type=3D2&host=3Dwrong_host&service=3Dwrong_service"


1 - [nagios@kassandra /usr/local/src/nagios-3.0rc1/cgi]$ ./extinfo.cgi
Cache-Control: no-store
Pragma: no-cache
Refresh: 90
Last-Modified: Fri, 04 Jan 2008 20:46:55 GMT
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-type: text/html



[... stripped content ...]




Segmentation fault
139 - [nagios@kassandra /usr/local/src/nagios-3.0rc1/cgi]$

The gdb returns the following Infos:

[.... stripped content ..]

Program received signal SIGSEGV, Segmentation fault.
0x08050005 in main () at extinfo.c:452
452 if(temp_service->action_url!=3DNULL && strc=
mp(temp_service->action_url,"")){
(gdb)

So now its your turn ;-)=20

Kind regards=20
J=F6rg =
=20





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