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:
72af299
)
forgot something
author
baalberith
<baalberith>
Thu, 5 Mar 2009 17:30:45 +0000
(17:30 +0000)
committer
baalberith
<baalberith>
Thu, 5 Mar 2009 17:30:45 +0000
(17:30 +0000)
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
c2e7452
..
0091765
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-175,7
+175,7
@@
typedef struct {
} kerb_auth_config;
typedef struct krb5_conn_data {
} kerb_auth_config;
typedef struct krb5_conn_data {
- char
authline[2048]
;
+ char
*authline
;
char *user;
char *mech;
int last_return;
char *user;
char *mech;
int last_return;
@@
-1579,7
+1579,7
@@
save_authorized(request_rec *r, char *auth_line, const char *auth_type, int ret)
char keyname[1024];
prevauth->user = apr_pstrdup(r->connection->pool, MK_USER);
char keyname[1024];
prevauth->user = apr_pstrdup(r->connection->pool, MK_USER);
-
snprintf(prevauth->authline, sizeof(prevauth->authline) - 1, "%s"
, auth_line);
+
prevauth->authline = apr_pstrdup(r->connection->pool
, auth_line);
prevauth->mech = apr_pstrdup(r->connection->pool, auth_type);
prevauth->last_return = ret;
prevauth->mech = apr_pstrdup(r->connection->pool, auth_type);
prevauth->last_return = ret;