mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
This commit was generated by cvs2svn to compensate for changes in r104204,
which included commits to RCS files with non-trunk default branches.
This commit is contained in:
commit
a5573db3bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104205
@ -33,7 +33,7 @@
|
||||
|
||||
#include <krb5_locl.h>
|
||||
|
||||
RCSID("$Id: changepw.c,v 1.37 2002/09/03 16:14:34 nectar Exp $");
|
||||
RCSID("$Id: changepw.c,v 1.38 2002/09/29 11:48:34 joda Exp $");
|
||||
|
||||
static krb5_error_code
|
||||
send_request (krb5_context context,
|
||||
@ -175,7 +175,7 @@ process_reply (krb5_context context,
|
||||
ap_rep_data.length = (reply[4] << 8) | (reply[5]);
|
||||
priv_data.data = (u_char*)ap_rep_data.data + ap_rep_data.length;
|
||||
priv_data.length = len - ap_rep_data.length - 6;
|
||||
if ((u_char *)priv_data.data + priv_data.length >= reply + len)
|
||||
if ((u_char *)priv_data.data + priv_data.length > reply + len)
|
||||
return KRB5_KPASSWD_MALFORMED;
|
||||
|
||||
if (ap_rep_data.length) {
|
||||
|
Loading…
Reference in New Issue
Block a user