summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2002-09-30 14:12:42 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2002-09-30 14:12:42 +0000
commit0b449c269925f44fdbed623613ab879c1fcb7bbf (patch)
tree421a6ee1922e40c6ca68d768181a70166cf5c156
parent10522f2e513f037029982f53834eb000ce076728 (diff)
Notes
-rw-r--r--crypto/heimdal/lib/krb5/changepw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/heimdal/lib/krb5/changepw.c b/crypto/heimdal/lib/krb5/changepw.c
index f765a97cf7e2..a17bf2b37e67 100644
--- a/crypto/heimdal/lib/krb5/changepw.c
+++ b/crypto/heimdal/lib/krb5/changepw.c
@@ -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) {