21 Mar 2012 13:13
sofia sip crash on ARM processo
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
RSS Feed