From schwim@whatmore.Stanford.EDU Fri Apr 17 20:52:31 1998
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA27778 for <bugs@RT-11.MIT.EDU>; Fri, 17 Apr 1998 20:52:30 -0400
Received: from whatmore.Stanford.EDU by MIT.EDU with SMTP
id AA25875; Fri, 17 Apr 98 20:52:22 EDT
Received: (from schwim@localhost)
by whatmore.Stanford.EDU (8.8.8/8.8.8) id RAA02520;
Fri, 17 Apr 1998 17:52:20 -0700 (PDT)
Message-Id: <199804180052.RAA02520@whatmore.Stanford.EDU>
Date: Fri, 17 Apr 1998 17:52:20 -0700 (PDT)
From: Larry Schwimmer <schwim@whatmore.Stanford.EDU>
To: krb5-bugs@MIT.EDU
Subject: PATCH: appl/bsd/login.c not 64-bit clean
Addresses are four-bytes. long is 8 bytes on a 64 bit
machine, so the call fails. I guess you could use unsigned KRB4_32
instead of unsigned int.
yours,
Larry Schwimmer
schwim@leland.stanford.edu
Leland Systems Group
+++ appl/bsd/login.c Fri Apr 17 17:47:46 1998
***************
*** 779,785 ****
struct hostent *hp;
KTEXT_ST ticket;
AUTH_DAT authdata;
- unsigned long addr;
static /*const*/ char rcmd[] = "rcmd";
char key[8];
int krbval, retval, have_keys;
--- 779,785 ----
struct hostent *hp;
KTEXT_ST ticket;
AUTH_DAT authdata;
+ unsigned int addr;
static /*const*/ char rcmd[] = "rcmd";
char key[8];
int krbval, retval, have_keys;
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 11:40:47 2001
Responsible-Changed-Why:
reformat/refile
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id UAA27778 for <bugs@RT-11.MIT.EDU>; Fri, 17 Apr 1998 20:52:30 -0400
Received: from whatmore.Stanford.EDU by MIT.EDU with SMTP
id AA25875; Fri, 17 Apr 98 20:52:22 EDT
Received: (from schwim@localhost)
by whatmore.Stanford.EDU (8.8.8/8.8.8) id RAA02520;
Fri, 17 Apr 1998 17:52:20 -0700 (PDT)
Message-Id: <199804180052.RAA02520@whatmore.Stanford.EDU>
Date: Fri, 17 Apr 1998 17:52:20 -0700 (PDT)
From: Larry Schwimmer <schwim@whatmore.Stanford.EDU>
To: krb5-bugs@MIT.EDU
Subject: PATCH: appl/bsd/login.c not 64-bit clean
Show quoted text
>Number: 581
>Category: krb5-clients
>Synopsis: verify_krb_v4_tgt is not 64-bit clean
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Apr 17 20:53:00 EDT 1998
>Last-Modified: Fri Sep 14 11:40:57 EDT 2001
>Originator: Larry Schwimmer
>Organization:
>Release: 1.0.5
>Environment:
64 bit (includes DUNIX)>Category: krb5-clients
>Synopsis: verify_krb_v4_tgt is not 64-bit clean
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Fri Apr 17 20:53:00 EDT 1998
>Last-Modified: Fri Sep 14 11:40:57 EDT 2001
>Originator: Larry Schwimmer
>Organization:
>Release: 1.0.5
>Environment:
Show quoted text
>Description:
Addresses are four-bytes. long is 8 bytes on a 64 bit
machine, so the call fails. I guess you could use unsigned KRB4_32
instead of unsigned int.
yours,
Larry Schwimmer
schwim@leland.stanford.edu
Leland Systems Group
Show quoted text
>How-To-Repeat:
>Fix:
--- appl/bsd/login.c.orig Fri Feb 6 19:41:18 1998>Fix:
+++ appl/bsd/login.c Fri Apr 17 17:47:46 1998
***************
*** 779,785 ****
struct hostent *hp;
KTEXT_ST ticket;
AUTH_DAT authdata;
- unsigned long addr;
static /*const*/ char rcmd[] = "rcmd";
char key[8];
int krbval, retval, have_keys;
--- 779,785 ----
struct hostent *hp;
KTEXT_ST ticket;
AUTH_DAT authdata;
+ unsigned int addr;
static /*const*/ char rcmd[] = "rcmd";
char key[8];
int krbval, retval, have_keys;
Show quoted text
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 11:40:47 2001
Responsible-Changed-Why:
reformat/refile
Show quoted text
>Unformatted: