Empty host/service-group patch
Ton Voon
tonvoon at gmail.com
Tue Nov 9 16:43:13 CET 2010
On 9 Nov 2010, at 14:51, Sven-Göran Bergh wrote:
>
>> Från: Ton Voon <tonvoon at gmail.com>
>> Till: Nagios Developers List <nagios-devel at lists.sourceforge.net>
>> Skickat: tis 9 november 2010 10:41:14
>> Ämne: Re: [Nagios-devel] Empty host/service-group patch
>>
>> Nasty! Can you update the test configurations to trigger this bug?
>> 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
on what strtok was doing before. As the test case is still a
reasonable test, I've applied your patch (it didn't apply cleanly
unfortunately because of some other code re-arranging) and committed
into HEAD now.
Thanks.
Ton
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
More information about the Developers
mailing list