Steve Grubb 5554c2
diff -urp aide-0.14.orig/src/be.c aide-0.14/src/be.c
Steve Grubb 5554c2
--- aide-0.14.orig/src/be.c	2010-05-18 12:36:19.000000000 -0400
Steve Grubb 5554c2
+++ aide-0.14/src/be.c	2010-05-18 12:39:53.000000000 -0400
Steve Grubb 5554c2
@@ -161,7 +161,7 @@ FILE* be_init(int inout,url_t* u,int isz
Steve Grubb 5554c2
 #endif
Steve Grubb 5554c2
 #ifdef WITH_ZLIB
Steve Grubb 5554c2
     if(iszipped && !inout){
Steve Grubb 5554c2
-      fh=gzdopen(fd,"wb9+");
Steve Grubb 5554c2
+      fh=gzdopen(fd,"wb9");
Steve Grubb 5554c2
       if(fh==NULL){
Steve Grubb 5554c2
 	error(0,_("Couldn't open file %s for %s"),u->value,
Steve Grubb 5554c2
 	      inout?"reading\n":"writing\n");
Steve Grubb 5554c2
diff -urp aide-0.14.orig/src/commandconf.c aide-0.14/src/commandconf.c
Steve Grubb 5554c2
--- aide-0.14.orig/src/commandconf.c	2010-05-18 12:36:19.000000000 -0400
Steve Grubb 5554c2
+++ aide-0.14/src/commandconf.c	2010-05-18 12:36:49.000000000 -0400
Steve Grubb 5554c2
@@ -84,7 +84,7 @@ int commandconf(const char mode,const ch
Steve Grubb 5554c2
     else {
Steve Grubb 5554c2
       tmp=(char*)malloc(sizeof(char)
Steve Grubb 5554c2
 			*(strlen(after)+strlen(line)+2));
Steve Grubb 5554c2
-      strcat(tmp,after);
Steve Grubb 5554c2
+      strcpy(tmp,after);
Steve Grubb 5554c2
       strcat(tmp,"\n");
Steve Grubb 5554c2
       strcat(tmp,line);
Steve Grubb 5554c2
       free(after);