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

[reSIProcate] Bug in DUM without client authentication handler


Not having a client authentication handler (==NULL in DUM) will make a null pointer exception in dum/Dialog.cxx : void Dialog::dispatch(const SipMessage& msg) :
 
if ( lastRequest && mDum.mClientAuthManager->handle( *lastRequest, msg ) )
{
    InfoLog( << "about to retransmit request with digest credentials" );
    InfoLog( << *lastRequest );

    mDum.send(*lastRequest);
    return;
}
Maybe just adding mDum.mClientAuthManager != NULL would be ok.
Thanks.
 
Dom.