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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Sep 1 14:08:41 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10610 
====================================================================== 
Reported By:                john
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10610
Category:                   Core-General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-01-2007 14:08 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'.

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

---------------------------------------------------------------------- 
 mvanbaak - 09-01-07 14:08  
---------------------------------------------------------------------- 
Works fine on my system.
Since this is clearly a bug it should be fixed in 1.4 as well. in 1.4 it
is line 270 of main/dns.c 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-01-07 14:08  mvanbaak       Note Added: 0069822                          
======================================================================




More information about the asterisk-bugs mailing list