[asterisk-bugs] [Asterisk 0019346]: Crash in netsock when attempting to resolve blank sip uri
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun May 22 23:43:49 CDT 2011
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=19346
======================================================================
Reported By: kobaz
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 19346
Category: Core/Netsock
Reproducibility: sometimes
Severity: crash
Priority: high
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.8
SVN Revision (number only!): 320171
Request Review:
======================================================================
Date Submitted: 2011-05-22 23:43 CDT
Last Modified: 2011-05-22 23:43 CDT
======================================================================
Summary: Crash in netsock when attempting to resolve blank
sip uri
Description:
Through some routine testing I came a
[2011-05-23 00:35:06] WARNING[29007]: chan_sip.c:13295 Invalid contact uri
(missing sip: or sips:), attempting to use anyway
Segmentation Fault
The problem is in ast_sockaddr_resolve() in netsock2.c
s = ast_strdupa(str);
This may deference a null pointer if the results from
parse_uri_legacy_check() in chan_sip are a null domain.
======================================================================
----------------------------------------------------------------------
(0135232) kobaz (developer) - 2011-05-22 23:43
https://issues.asterisk.org/view.php?id=19346#c135232
----------------------------------------------------------------------
Affects trunk as well.
Issue History
Date Modified Username Field Change
======================================================================
2011-05-22 23:43 kobaz Note Added: 0135232
======================================================================
More information about the asterisk-bugs
mailing list