SourceForge.net | 22 Mar 2012 11:14
Picon

[ sofia-sip-Bugs-3510029 ] sofia sip crash on android

Bugs item #3510029, was opened at 2012-03-22 03:14
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=3510029&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: sofia sip crash on android

Initial Comment:
When the TO sip header or FROM sip header starts with a '<', the code crash on android.   After tracking the
problem it seems that there is an error in sip_basic.c. In the  method "sip_name_addr" you can see the
variable is assigned to an empty string when the sip header starts with a '<'.

 if (s[n] == '<') {
      /* OK, we got a display name */
      display = s; s += n + 1;
      /* NUL terminate display name */
      while (n > 0 && IS_LWS(display[n - 1]))
	n--;
      if (n > 0)
(Continue reading)


Gmane