[OpenSIPS-Devel] typo in dlg_handlers.c

Anca Vamanu anca at opensips.org
Mon Apr 4 15:09:13 CEST 2011


Hi Richard,

Thank you for the report. You were right, the fix was committed on svn.

Regards,

-- 
Anca Vamanu
OpenSIPS Developer


On 31/03/11 21:34, Richard Revels wrote:
> I've got a couple hundred unread messages in my mailing list folder.  Please forgive me if this has been fixed already.  This is from revision 7602.
>
> I'm getting a seg fault in str2int called from dlg_validate_dialog and noticed this right when I started looking at the core file
>
> 1256            n = m = 0;                                                                                                                                                                                                                                               │
>    >│1257            if ( str2int(&((get_cseq(req))->number),&n)!=0 ||                                                                                                                                                                                                      │
>     │1258            str2int(&(leg->r_cseq),&n)!=0 || n<=m ) {                                                                                                                                                                                                              │
>     │1259                    LM_DBG("cseq test falied recv=%d, old=%d\n",n,m);                                                                                                                                                                                                │
>     │1260                    return -1;                                                                                                                                                                                                                                       │
>     │1261            }
>
> It seems like one of the&n values in the calls to str2int should be an&m to me.  At the moment I don't think this has anything to do with the crash.  I'll open a tracker on that when I find it.
>
> Richard




More information about the Devel mailing list