Hello All,

I found the error about why sofia sip crashed on android.
The problem is in sip_basic.c in the the method sip_name_addr_d. there
you can find:

if (n>0)
  display[n] ='\0';
else
  display="";
...
if (return_display)
    *return_display = display;


Now if n=0 then the address for return_display  is undefined. if I
replace display="" with display=NULL, the incoming sip request works
fine.


regards,

Chris

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to