From f95ce6a8fce8eca40b6954a78b591cf724caa4f8 Mon Sep 17 00:00:00 2001 From: kouril Date: Mon, 29 Sep 2003 16:23:15 +0000 Subject: [PATCH] Warning about bad use of strcat --- src/mod_auth_kerb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index 3f5bb84..6393c02 100644 --- 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) { -- 2.1.4