aboutsummaryrefslogtreecommitdiff
path: root/security/aide
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-06-07 00:00:06 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-06-07 00:00:06 +0000
commit2fcda941f4174300bf704a16ede06cc891ec5273 (patch)
tree2619f16496bb8b5c1a99f09ef5dad2b1abf3e0fc /security/aide
parenteb3c81d3f6a56755ed1f8144d5dfc1283398aeee (diff)
downloadports-2fcda941f4174300bf704a16ede06cc891ec5273.tar.gz
ports-2fcda941f4174300bf704a16ede06cc891ec5273.zip
Notes
Diffstat (limited to 'security/aide')
-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);
+