projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8871a7
)
In krb5int_rd_setpw_rep, if we get an error result, set ap_rep.length
author
Greg Hudson
<ghudson@mit.edu>
Tue, 5 May 2009 16:46:29 +0000
(16:46 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Tue, 5 May 2009 16:46:29 +0000
(16:46 +0000)
to 0 so that it is initialized for a check later in the function.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22313
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/chpw.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/chpw.c
b/src/lib/krb5/krb/chpw.c
index 13adbd6aef4a2bf4b6b27bb123d72349a945f317..1a4013dd772ae74baef8c85b848ec0c6a574563b 100644
(file)
--- a/
src/lib/krb5/krb/chpw.c
+++ b/
src/lib/krb5/krb/chpw.c
@@
-370,6
+370,7
@@
krb5int_rd_setpw_rep(krb5_context context, krb5_auth_context auth_context,
krberror->e_data.data = NULL; /*So we can free it later*/
krberror->e_data.length = 0;
krb5_free_error(context, krberror);
+ ap_rep.length = 0;
} else { /* Not an error*/