Bugzilla – Attachment 305 Details for
Bug 326
Bug in AFS token forwarding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix for AFS token forwarding problem
ssh.patch (text/plain), 730 bytes, created by
Alf Wachsmann
on 2003-05-17 02:09:37 AEST
(
hide
)
Description:
Proposed fix for AFS token forwarding problem
Filename:
MIME Type:
Creator:
Alf Wachsmann
Created:
2003-05-17 02:09:37 AEST
Size:
730 bytes
patch
obsolete
>--- sshconnect1.c.orig Fri Jun 28 13:25:51 2002 >+++ sshconnect1.c Fri Jun 28 13:23:56 2002 >@@ -796,7 +796,8 @@ > parms.in_size = sizeof(i); > parms.out = buf; > parms.out_size = sizeof(buf); >- if (k_pioctl(0, VIOCGETTOK, &parms, 0) != 0) >+ k_pioctl(0, VIOCGETTOK, &parms, 0); >+ if(errno == EDOM) > break; > p = buf; > >@@ -810,8 +811,7 @@ > > /* Get clear token. */ > memcpy(&len, p, sizeof(len)); >- if (len != sizeof(struct ClearToken)) >- break; >+ if (len == sizeof(struct ClearToken)) { > p += sizeof(len); > memcpy(&ct, p, len); > p += len; >@@ -848,6 +848,7 @@ > else if (type != SSH_SMSG_SUCCESS) > packet_disconnect("Protocol error on AFS token response: %d", type); > } >+ } > } > > #endif /* AFS */
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 326
: 305