krb5 commit: Fix Windows regression in k5_make_uri_query()
ghudson at mit.edu
ghudson at mit.edu
Wed Dec 4 23:43:23 EST 2024
https://github.com/krb5/krb5/commit/ad72f357ceba3f8210393d03cf29cfc3140db3ec
commit ad72f357ceba3f8210393d03cf29cfc3140db3ec
Author: Ken Hornstein <kenh at cmf.nrl.navy.mil>
Date: Tue Dec 3 21:54:35 2024 -0500
Fix Windows regression in k5_make_uri_query()
Commit d035119c3b2b402f3ad49a4c7b6264826ea923bb introduced an extra
parameter to the function k5_make_uri_query(), but did not add that
parameter to the Windows stub version of this function, causing a null
pointer exception when this function was called. Add the parameter
now.
[ghudson at mit.edu: edited commit message]
src/lib/krb5/os/dnssrv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/krb5/os/dnssrv.c b/src/lib/krb5/os/dnssrv.c
index ffbbc8531..2eb638988 100644
--- a/src/lib/krb5/os/dnssrv.c
+++ b/src/lib/krb5/os/dnssrv.c
@@ -110,7 +110,8 @@ place_srv_entry(struct srv_dns_entry **head, struct srv_dns_entry *new)
krb5_error_code
k5_make_uri_query(krb5_context context, const krb5_data *realm,
- const char *service, struct srv_dns_entry **answers)
+ const char *service, const char *sitename,
+ struct srv_dns_entry **answers)
{
/* Windows does not currently support the URI record type or make it
* possible to query for a record type it does not have support for. */
More information about the cvs-krb5
mailing list