projects
/
mod_auth_kerb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6260172
)
Warning about bad use of strcat
author
kouril
<kouril>
Mon, 29 Sep 2003 16:23:15 +0000
(16:23 +0000)
committer
kouril
<kouril>
Mon, 29 Sep 2003 16:23:15 +0000
(16:23 +0000)
src/mod_auth_kerb.c
patch
|
blob
|
history
diff --git
a/src/mod_auth_kerb.c
b/src/mod_auth_kerb.c
index
3f5bb84
..
6393c02
100644
(file)
--- a/
src/mod_auth_kerb.c
+++ b/
src/mod_auth_kerb.c
@@
-866,6
+866,7
@@
authenticate_user_gss(request_rec *r,
if (conf->krb_5_keytab)
/* use really strcat(), since the string passed to putenv() will become
* part of the enviroment and shouldn't be free()ed by apache */
+ /* XXX space isn't allocated !!! */
putenv(strcat("KRB5_KTNAME=", conf->krb_5_keytab));
if (gss_connection->server_creds == GSS_C_NO_CREDENTIAL) {