aboutsummaryrefslogtreecommitdiffstats
path: root/security/aide
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-06-07 08:00:06 +0800
committerkris <kris@FreeBSD.org>2002-06-07 08:00:06 +0800
commitc46bd0703b0cf682d9df01ae35fd5ab9b1bac06b (patch)
tree2ea45224b9c0dec065694d59d5906a7615b511a4 /security/aide
parent2fa9dd96dc5c1dea7aee52f704823c842e742ee2 (diff)
downloadfreebsd-ports-gnome-c46bd0703b0cf682d9df01ae35fd5ab9b1bac06b.tar.gz
freebsd-ports-gnome-c46bd0703b0cf682d9df01ae35fd5ab9b1bac06b.tar.zst
freebsd-ports-gnome-c46bd0703b0cf682d9df01ae35fd5ab9b1bac06b.zip
Fix a couple of fprintf format string errors
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);
+