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

RE: [reSIProcate] revision 5533 causing access violation inTransactionState.cxx


Fixed!  Thanks.

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Justin Matthews
> Sent: Friday, October 28, 2005 4:26 PM
> To: 'Resip Devel'
> Subject: [reSIProcate] revision 5533 causing access violation
> inTransactionState.cxx
> 
> Hi,
> 
> It looks like in revision 5533 the following code was added to
> TransactionState.cxx ~ 1549
> 
> case 600:
>             // blacklist last target.
>             if (mDnsResult->available() == DnsResult::Available)
>             {
>                mDnsResult->next();
>             }
>             break;
>          default:
>             if (mDnsResult != NULL)
>             {
>                mDnsResult->success();
>             }
> 
> As with the default: case, should there by a check for NULL?
> 
> If( NULL != mDnsResult && mDnsResult->available() ==
DnsResult::Available)
> 
> Thanks,
> 
> -Justin
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel