The Samba-Bugzilla – Attachment 864 Details for
Bug 2186
libads/kerberos.c:get_service_ticket() frees uninitialized pointer; random net ads join failure question
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
almost too obvious to submit patch
9999999.bugzilla-to-be-filed.patch.1 (text/plain), 666 bytes, created by
Buck Huppmann
on 2004-12-22 14:48:22 UTC
(
hide
)
Description:
almost too obvious to submit patch
Filename:
MIME Type:
Creator:
Buck Huppmann
Created:
2004-12-22 14:48:22 UTC
Size:
666 bytes
patch
obsolete
>--- samba-3.0.10/source/libads/kerberos.c.orig Sun Nov 7 15:43:24 2004 >+++ samba-3.0.10/source/libads/kerberos.c Wed Dec 22 15:42:19 2004 >@@ -320,6 +320,8 @@ > krb5_auth_context auth_context = NULL; > krb5_error_code err = 0; > >+ ZERO_STRUCT(creds); >+ > asprintf(&machine_account, "%s$@%s", global_myname(), lp_realm()); > if (machine_account == NULL) { > goto out; >@@ -340,7 +342,6 @@ > ticket to ourselves. */ > > /* Set up the enctype and client and server principal fields for krb5_get_credentials. */ >- memset(&creds, '\0', sizeof(creds)); > kerberos_set_creds_enctype(&creds, enctype); > > if ((err = krb5_cc_get_principal(ctx, ccache, &creds.client))) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2186
: 864