krb5 commit: Fix Windows regression in k5_make_uri_query()
[email protected] Wed, 4 Dec 2024 23:43:23 -0500 (EST)
| Newsgroups | gmane.comp.encryption.kerberos.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://github.com/krb5/krb5/commit/ad72f357ceba3f8210393d03cf29cfc3140db3ec commit ad72f357ceba3f8210393d03cf29cfc3140db3ec Author: Ken Hornstein <[email protected]> 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. [[email protected]: 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. */