Bugs item #1764369, was opened at 2007-07-31 14:28
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=1764369&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: Interface (example)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: stefan_l (stefanleu)
Assigned to: Nobody/Anonymous (nobody)
Summary: stun_handle_init() fails
Initial Comment:
Problem:
stun_handle_init() fails after upgrade from Sofia SIP V1.12.1 to V1.12.6.
Example:
stun_handle_t* pStun = stun_handle_init(pRoot,
STUNTAG_SERVER("stun.sipgate.net:10000"),
STUNTAG_DOMAIN("sipgate.de"), TAG_NULL());
Environment:
uClibc-0.9.27 on a MIPS4kEC platform.
getaddrinfo() from uClibc:
(config.h:#define HAVE_GETADDRINFO 1)
Debug:
stun_handle_init() calls
stun_atoaddr() calls
su_getaddrinfo calls
getaddrinfo() returns -8
The problem seems to be the change on lines 893,894 in
su_addrinfo.c::su_getaddrinfo():
if (!service || service[0] == '\0')
service = "0";
stun_atoaddr() sets service to NULL (OK according to the manpage as long as
node != NULL).
If I remove the two lines, everything works fine.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=1764369&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
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel