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