projects
/
mod_auth_kerb.cvs
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fe9cdf8
)
fixed [1851056] problem with password beginning with ':'
author
baalberith
<baalberith>
Fri, 25 Jul 2008 22:22:03 +0000
(22:22 +0000)
committer
baalberith
<baalberith>
Fri, 25 Jul 2008 22:22:03 +0000
(22:22 +0000)
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
e99f366
..
1fb4603
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-450,7
+450,7
@@
authenticate_user_krb4pwd(request_rec *r,
int all_principals_unkown;
sent_pw = ap_pbase64decode(r->pool, auth_line);
int all_principals_unkown;
sent_pw = ap_pbase64decode(r->pool, auth_line);
- sent_name = ap_getword
(r->pool,
&sent_pw, ':');
+ sent_name = ap_getword
_nulls_nc (r->pool, (char **)
&sent_pw, ':');
sent_instance = strchr(sent_name, '.');
if (sent_instance)
sent_instance = strchr(sent_name, '.');
if (sent_instance)
@@
-901,7
+901,7
@@
authenticate_user_krb5pwd(request_rec *r,
}
sent_pw = ap_pbase64decode(r->pool, auth_line);
}
sent_pw = ap_pbase64decode(r->pool, auth_line);
- sent_name = ap_getword
(r->pool,
&sent_pw, ':');
+ sent_name = ap_getword
_nulls_nc (r->pool, (char **)
&sent_pw, ':');
if (sent_pw == NULL || *sent_pw == '\0') {
log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
if (sent_pw == NULL || *sent_pw == '\0') {
log_rerror(APLOG_MARK, APLOG_ERR, 0, r,