Bugs item #1779541, was opened at 2007-08-22 18:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1779541&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: Erland Lewin (erl)
Assigned to: Nobody/Anonymous (nobody)
Summary: Poor error handling for port 0 in SDP

Initial Comment:
I've spent a day tracking down weird behaviour, and just figured it out.

Through a bug in my own code, I had a port of 0 in the m=audio line of the SDP 
description passed in the SOATAG_USER_SDP_STR macro in nua_respond.

The result is that I got errors:

tport_vsend(0x804ccd0): Operation not permitted with (s=9 
UDP/82.209.165.194:5060)
tport_vsend returned -1
incoming_reply: tport_tsend: Operation not permitted
incoming_reply: tport_tsend: error (Operation not permitted) while sending 200 
OK for INVITE (101)

I think this is because the system call sendmsg was called with an invalid 
pointer because the SOA-subsystem had problems with the 0 port.

I think the correct behaviour of SofiaSIP would be to signal an SOA error, and 
not even attempt to call sendmsg if the SDP stuff fails.

I am running Linux 2.6.18 and sofia-sip-1.12.6.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1779541&group_id=143636

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to