[Openais] [PATCH corosync/trunk] add some missing stats "++"
Angus Salkeld
angus.salkeld at gmail.com
Tue Oct 13 20:32:10 PDT 2009
>> The stats can crash corosync if token_count is zero ... don't laugh I've
>> seen it crash several times with this already. This patch checks that
>> token_count is nozero before using it as a divisor.
>>
>> Chrissie
>
> Chrissie
>
> good catch
>
> this brings up an interesting class of bugs (div by zero). Angus can
> you double check those div by zeros don't happen?
>
Hi
This is the only division that I have added in
the stats patches. So this check should be fine.
(Thanks Chrissie)
Regards
Angus
> Regards
> -steve
>
>
More information about the Openais
mailing list