From 0024d7472768635915ee6cc511fc258c121b9b9c Mon Sep 17 00:00:00 2001 From: dscho Date: Sat, 31 Aug 2002 14:09:39 +0000 Subject: compiler warnings and format vulnerabilities fixed --- mac.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mac.c') diff --git a/mac.c b/mac.c index 210deef..eec4bcc 100644 --- a/mac.c +++ b/mac.c @@ -552,6 +552,8 @@ int main(int argc,char *argv[]) for(i=argc-1;i>0;i--) #ifdef LOCAL_CONTROL if(i1022) + argv[i+1][1022]=0; sprintf(message,"t%s",argv[i+1]); send_message(&single_instance,message); exit(0); @@ -562,6 +564,8 @@ int main(int argc,char *argv[]) } else #ifdef BACKCHANNEL if(i1022) + argv[i+1][1022]=0; sprintf(message,"b%s",argv[i+1]); send_message(&single_instance,message); exit(0); -- cgit v1.2.1