Fix for multiple A records in additional section of SRV reply

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I ran into an issue in srv_resolver.c. Whenever the nameserver  
includes more than one SRV record per hostname in the additional  
section of a reply to a SRV query, query_job->host_resolved would be  
increased by that number, while it should be increased at most once  
per resolved hostname.

I have included a small patch for this.

Ruud Klaver
AG Projects

-------------- next part --------------
A non-text attachment was scrubbed...
Name: srv_resolver.c.additional.a.record.fix.20080612.patch
Type: application/octet-stream
Size: 600 bytes
Desc: not available
Url : http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080612/9aabf418/attachment.obj 
-------------- next part --------------



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux