Page 1 of 1

[Nagios-devel] ndoutils and Fedora.

Posted: Tue Feb 14, 2006 10:23 am
by Guest
This is a multi-part message in MIME format.
--------------090107020202050106080408
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit


I have tracked down to problems that were generating and
segmentation fault on my Fedora 3.
On the file db.c, line 117, if the db_prefix is not set in the
ndo2db.cfg file, a strlen of a null pointer is attempted and the program
crashes there.
The second point of crash for me is on the file dbhandlers.c in the
line 553, it crashes when and strcmp of a again null pointer is tried.
If have made a quick fix for me and the ndo2db actually wrote into
the database.
I have not produced a patch of these, because I am no certain what
the solution has to be, so any help or ideas on this matter are VERY
apprechiated.
Thanks.

--
__________________________________________________
*Alessandro Ren*
/*OpServices*/
/*Luciana de Abreu, 471 - Sala 403*/
/*Porto Alegre, RS - CEP 90570-060*/

*(* phone 55(51)3061-3588
*4* fax 55(51)3061-3588
*Q* mobile 55(51)8151-8212
*:* email [email protected]


__________________________________________________

--------------090107020202050106080408
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit








    I have tracked down to problems that were generating and
segmentation fault on my Fedora 3.
    On the file db.c, line 117, if the db_prefix is not set in the
ndo2db.cfg file, a strlen of a null pointer is attempted and the
program crashes there.
    The second point of crash for me is on the file dbhandlers.c in the
line 553, it crashes when and strcmp of a again null pointer is tried.
    If have made a quick fix for me and the ndo2db actually wrote into
the database.
    I have not produced a patch of these, because I am no certain what
the solution has to be, so any help or ideas on this matter are VERY
apprechiated.
    Thanks.
   
--
OpSign
__________________________________________________



Alessandro Ren

OpServices
Luciana de Abreu, 471 - Sala 403
Porto Alegre, RS - CEP 90570-060







(   phone 55(51)3061-3588
4    fax 55(51)3061-3588

Q   mobile 55(51)8151-8212
:   email [email protected]</f

...[email truncated]...


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