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

[reSIProcate] revision 5533 causing access violation in TransactionState.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