< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] Possible issue in AresDnsPollItem


Fixed - thanks Dario!


On Tue, Feb 18, 2014 at 3:56 PM, Dario Bozzali <Dario.Bozzali@xxxxxxxxxxx> wrote:

Hi all,

I'm using the latest revision of Resiprocate mainline (10976) and I noticed a possible issue in AresDnsPollItem class, in particular in resetPollGrp() method.
In my opinion it could happen that mPollGrp is NULL, so we should check it (same check is done in several other places in the code, for example in AresDns).
In detail
    if (mPollGrp) {
        mPollGrp->delPollItem(mPollHandle);
    }
instead of
    mPollGrp->delPollItem(mPollHandle);

Best regards,
Dario.


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel