andrei 2009/03/31 20:11:26 CEST
SER CVS Repository
Modified files:
. dns_cache.c
Log:
dns: fix selecting neg. cname entry
- do not select a neg. cache cname entry as a response, unless
the request is for a cname.
This fixes an unlikely bug: someone makes a specific cname
request (from ser) for a name that doesn't resolve and then later when
a normal non-cname request is made (e.g. A) the empty negative cname
entry is selected, leading to a coredump. So far there is no
code in ser that could trigger this bug. Only dns.lookup cname
... from sip-router could trigger it.
Revision Changes Path
1.29 +6 -3 sip_router/dns_cache.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/dns_cache.c.diff?r1=1.28&r2=1.29
_______________________________________________
Serdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/serdev