[Home]

Summary:ASTERISK-04112: [patch] Change domain length to MAXDOMAINLEN in chan_sip
Reporter:Olle Johansson (oej)Labels:
Date Opened:2005-05-08 05:29:42Date Closed:2008-01-15 15:34:42.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sipdomain.txt
Description:This patch changes
* Domain fields to MAXDOMAINLEN (works in FreeBSD and Linux)
* Contexts to similar length within chan_sip

Disclaimer on file
Comments:By: Mark Spencer (markster) 2005-05-08 12:42:17

Fixed in CVS head.

By: Russell Bryant (russell) 2005-05-15 11:51:08

fixed in 1.0 as well

By: Digium Subversion (svnbot) 2008-01-15 15:33:39.000-0600

Repository: asterisk
Revision: 5601

U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r5601 | markster | 2008-01-15 15:33:38 -0600 (Tue, 15 Jan 2008) | 2 lines

Use maxdomainlen in chan_sip (bug ASTERISK-4112)

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

http://svn.digium.com/view/asterisk?view=rev&revision=5601

By: Digium Subversion (svnbot) 2008-01-15 15:34:42.000-0600

Repository: asterisk
Revision: 5675

U   branches/v1-0/acl.c
U   branches/v1-0/apps/app_voicemail.c
U   branches/v1-0/asterisk.c
U   branches/v1-0/channels/chan_mgcp.c
U   branches/v1-0/channels/chan_sip.c
U   branches/v1-0/logger.c
U   branches/v1-0/res/res_features.c

------------------------------------------------------------------------
r5675 | russell | 2008-01-15 15:34:42 -0600 (Tue, 15 Jan 2008) | 3 lines

ensure that calls to gethostbyname are null terminated,
also use MAXHOSTNAMELEN where appropriate (bug ASTERISK-4098) (bug ASTERISK-4112)

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

http://svn.digium.com/view/asterisk?view=rev&revision=5675