diff options
Diffstat (limited to 'app-admin/watchfolder/files/0.3.3-fortify-sources.patch')
-rw-r--r-- | app-admin/watchfolder/files/0.3.3-fortify-sources.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app-admin/watchfolder/files/0.3.3-fortify-sources.patch b/app-admin/watchfolder/files/0.3.3-fortify-sources.patch new file mode 100644 index 000000000000..175e8ed29ec3 --- /dev/null +++ b/app-admin/watchfolder/files/0.3.3-fortify-sources.patch @@ -0,0 +1,11 @@ +--- a/watchd.c 2009-02-27 23:46:42.000000000 +0000 ++++ b/watchd.c 2009-02-27 23:50:22.000000000 +0000 +@@ -671,7 +671,7 @@ + { + if (folder->flags&FL_LOG_FILE) + { +- log=open(curfolder->logfile, O_CREAT | O_WRONLY | O_APPEND ); ++ log=open(curfolder->logfile, O_CREAT | O_WRONLY | O_APPEND, S_IRUSR | S_IWUSR ); + if (log>0) + { + lseek(fd, SEEK_SET, 0); // Rewind temp log file.. |