Bugzilla – Attachment 545 Details for
Bug 698
Specify FILE: for KRB5CCNAME
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Tidied patch
patch (text/plain), 875 bytes, created by
Simon Wilkinson
on 2004-02-10 21:01:04 AEDT
(
hide
)
Description:
Tidied patch
Filename:
MIME Type:
Creator:
Simon Wilkinson
Created:
2004-02-10 21:01:04 AEDT
Size:
875 bytes
patch
obsolete
>Index: gss-serv-krb5.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/gss-serv-krb5.c,v >retrieving revision 1.2 >diff -u -r1.2 gss-serv-krb5.c >--- gss-serv-krb5.c 21 Nov 2003 11:57:03 -0000 1.2 >+++ gss-serv-krb5.c 10 Feb 2004 09:43:09 -0000 >@@ -104,6 +104,7 @@ > krb5_error_code problem; > krb5_principal princ; > OM_uint32 maj_status, min_status; >+ int len; > > if (client->creds == NULL) { > debug("No credentials stored"); >@@ -146,7 +147,9 @@ > > client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache)); > client->store.envvar = "KRB5CCNAME"; >- client->store.envval = xstrdup(client->store.filename); >+ len = strlen(client->store.filename) + 6; >+ client->store.envval = xmalloc(envval_len); >+ snprintf(client->store.envval,len,"FILE:%s",client->store.filename); > > krb5_cc_close(krb_context, ccache); >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 698
:
443
| 545