[asterisk-bugs] [Asterisk 0010610]: [patch] DNS SRV lookup behaviour is incorrect in some cases

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Sep 4 07:52:36 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10610 
====================================================================== 
Reported By:                john
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   10610
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 81387 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-30-2007 12:43 CDT
Last Modified:              09-04-2007 07:52 CDT
====================================================================== 
Summary:                    [patch] DNS SRV lookup behaviour is incorrect in
some cases
Description: 
When an SRV lookup is done and there is no SRV record for the hostname, but
there are other record types for the hostname in the answer,
ast_search_dns() incorrectly returns that it found a match.

There is a small bug in the code causing ast_search_dns() to return '1'
when it should be returning '0'.

====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 09-04-07 07:52  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 81435

------------------------------------------------------------------------
r81435 | file | 2007-09-04 07:52:34 -0500 (Tue, 04 Sep 2007) | 7 lines

(closes issue http://bugs.digium.com/view.php?id=10610)
Reported by: john
Patches:
      dns.c.patch uploaded by john (license 218)
Tested by: mvanbaak
Don't return a match if no SRV record actually exists.

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-04-07 07:52  svnbot         Checkin                                      
09-04-07 07:52  svnbot         Note Added: 0069873                          
09-04-07 07:52  svnbot         Status                   new => assigned     
09-04-07 07:52  svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list