[1068] in Kerberos-V5-bugs
lib/gssapi/krb5 missing some casts...
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sat Feb 4 21:58:52 1995
From: epeisach@MIT.EDU
Date: Sat, 4 Feb 1995 21:58:31 -0500
To: krb5-bugs@MIT.EDU
The following generate warnings... Other instances in the same file
handle the problem with similar casts...
Ezra
===================================================================
RCS file: /mit/krb5/.cvsroot/src/lib/gssapi/krb5/accept_sec_context.c,v
retrieving revision 1.10
diff -c -r1.10 accept_sec_context.c
*** 1.10 1995/01/28 20:06:40
--- accept_sec_context.c 1995/02/05 02:56:38
***************
*** 197,203 ****
return(GSS_S_DEFECTIVE_TOKEN);
}
! TREAD_STR(ptr, ap_req.data, ap_req.length);
/* construct the sender_addr */
--- 197,203 ----
return(GSS_S_DEFECTIVE_TOKEN);
}
! TREAD_STR(ptr, (unsigned char *) ap_req.data, ap_req.length);
/* construct the sender_addr */
===================================================================
RCS file: /mit/krb5/.cvsroot/src/lib/gssapi/krb5/init_sec_context.c,v
retrieving revision 1.8
diff -c -r1.8 init_sec_context.c
*** 1.8 1995/01/19 03:02:09
--- init_sec_context.c 1995/02/05 02:55:30
***************
*** 387,393 ****
return(GSS_S_DEFECTIVE_TOKEN);
}
! TREAD_STR(ptr, ap_rep.data, ap_rep.length);
/* decode the ap_rep */
if (code = krb5_rd_rep(context, &ap_rep, ctx->subkey, &ap_rep_data)) {
--- 387,393 ----
return(GSS_S_DEFECTIVE_TOKEN);
}
! TREAD_STR(ptr, (unsigned char *) ap_rep.data, ap_rep.length);
/* decode the ap_rep */
if (code = krb5_rd_rep(context, &ap_rep, ctx->subkey, &ap_rep_data)) {