Re: [Nagios-devel] Empty host/service-group patch

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] Empty host/service-group patch

Post by Guest »


On 9 Nov 2010, at 14:51, Sven-G=F6ran Bergh wrote:

>
>> Fr=E5n: Ton Voon
>> Till: Nagios Developers List
>> Skickat: tis 9 november 2010 10:41:14
>> =C4mne: Re: [Nagios-devel] Empty host/service-group patch
>>
>> Nasty! Can you update the test configurations to trigger this bug? =20=

>> Then with
>> your patch we should see that the problem is fixed.
>
> Here is the patch and a test-case for it. However, I do
> not know if the test is able to catch this bug on all
> setups. I have verified it on i586 and x86-64.

The test case doesn't trigger for me, though I understand it depends =20
on what strtok was doing before. As the test case is still a =20
reasonable test, I've applied your patch (it didn't apply cleanly =20
unfortunately because of some other code re-arranging) and committed =20
into HEAD now.

Thanks.

Ton






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