[997] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

OSF/1 compat_recv.c change

daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Wed Dec 21 10:45:01 1994

From: epeisach@MIT.EDU
Date: Wed, 21 Dec 1994 10:44:51 -0500
To: krb5-bugs@MIT.EDU


Mainly because the routine use sizeof..... This is only for v4
compatibility. 



===================================================================
RCS file: /mit/krb5/.cvsroot/src/lib/krb5/krb/compat_recv.c,v
retrieving revision 5.5
diff -c -r5.5 compat_recv.c
*** 5.5	1994/08/18 22:05:10
--- compat_recv.c	1994/11/03 06:57:54
***************
*** 227,234 ****
      char krb_vers[KRB_SENDAUTH_VLEN + 1]; /* + 1 for the null terminator */
      char *cp;
      int rem;
!     long tkt_len, priv_len;
!     u_long cksum;
      u_char tmp_buf[MAX_KTXT_LEN+max(KRB_SENDAUTH_VLEN+1,21)];
  
      /* read the application version string */
--- 227,234 ----
      char krb_vers[KRB_SENDAUTH_VLEN + 1]; /* + 1 for the null terminator */
      char *cp;
      int rem;
!     krb5_int32 tkt_len, priv_len;
!     krb5_ui_4 cksum;
      u_char tmp_buf[MAX_KTXT_LEN+max(KRB_SENDAUTH_VLEN+1,21)];
  
      /* read the application version string */

home help back first fref pref prev next nref lref last post