aboutsummaryrefslogtreecommitdiff
path: root/security/aide/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'security/aide/files/patch-aa')
-rw-r--r--security/aide/files/patch-aa20
1 files changed, 19 insertions, 1 deletions
diff --git a/security/aide/files/patch-aa b/security/aide/files/patch-aa
index 8996fbd21aaf..4ad347bc404a 100644
--- a/security/aide/files/patch-aa
+++ b/security/aide/files/patch-aa
@@ -1,5 +1,5 @@
--- src/db_file.c.orig Thu Apr 20 05:44:56 2000
-+++ src/db_file.c Thu Jul 13 07:39:36 2000
++++ src/db_file.c Thu Jun 6 16:56:48 2002
@@ -212,7 +212,7 @@
if((retval=fork())==0){
/* The child process */
@@ -9,3 +9,21 @@
/* WARNING This causes weird problems. Don't do it.
fclose(conf->db_in);
*/
+@@ -447,7 +447,7 @@
+ }
+
+ if(tmpstr){
+- retval=fprintf(file,tmpstr);
++ retval=fprintf(file,"%s",tmpstr);
+ free(tmpstr);
+ return retval;
+ }else {
+@@ -484,7 +484,7 @@
+
+
+ tmpstr=encode_base64(ptr,strlen(ptr));
+- retval=fprintf(file,tmpstr);
++ retval=fprintf(file,"%s",tmpstr);
+ free(tmpstr);
+ free(ptr);
+