From: zacheiss Date: Fri, 20 Apr 2007 13:57:14 +0000 (+0000) Subject: Arguments to kname_parse need to be initialized. X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/8ac76f32e1b06fc1f8102a6a03124be6f7815991 Arguments to kname_parse need to be initialized. --- diff --git a/server/mr_sauth.c b/server/mr_sauth.c index 8e83101b..100297c0 100644 --- a/server/mr_sauth.c +++ b/server/mr_sauth.c @@ -127,7 +127,7 @@ void do_auth(client *cl) void do_proxy(client *cl) { - char name[ANAME_SZ], inst[INST_SZ], realm[REALM_SZ]; + char name[ANAME_SZ] = "\0", inst[INST_SZ] = "\0", realm[REALM_SZ] = "\0"; char kname[MAX_K_NAME_SZ]; if (cl->proxy_id)