Handle SRV RR target of "." by returning a new error code.
authorKen Raeburn <raeburn@mit.edu>
Wed, 4 Jun 2003 02:57:11 +0000 (02:57 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 4 Jun 2003 02:57:11 +0000 (02:57 +0000)
commit24763993bda665fa34915533cfe99f031200863f
treeea934e4e6504054e0daa0737ee2184d47c0f9174
parentd72d71b1c00aa84a60810b0e98de995efd1458d6
Handle SRV RR target of "." by returning a new error code.
May have memory leaks -- needs checking before pullup.

* locate_kdc.c (struct srv_dns_entry): Move to top level.
(make_srv_query_realm): Separate from krb5_locate_srv_dns_1; just do query and
return results.
(krb5_locate_srv_dns_1): Call it, and build addlist entries.  Check for one RR
with a target of ".", and return an error.
(krb5_locate_srv_dns): Deleted.

ticket: 1549
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15560 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/ChangeLog
src/lib/krb5/os/locate_kdc.c