]> git.pld-linux.org Git - packages/gnarwl.git/commitdiff
- fix format string error auto/th/gnarwl-3.6-2
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 3 Aug 2013 11:03:13 +0000 (13:03 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 3 Aug 2013 11:03:13 +0000 (13:03 +0200)
- rel 2

format-security.patch [new file with mode: 0644]
gnarwl.spec

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..92de565
--- /dev/null
@@ -0,0 +1,11 @@
+--- gnarwl-3.6/src/mailhandler.c~      2008-06-24 22:23:33.000000000 +0200
++++ gnarwl-3.6/src/mailhandler.c       2013-08-03 13:02:20.793300785 +0200
+@@ -254,7 +254,7 @@
+   }
+   close(p[0]);
+   desc=fdopen(p[1],"w");
+-  fprintf(desc,body);
++  fprintf(desc,"%s",body);
+   fclose(desc);
+   
+   wait(NULL);
index f807c9e624794c5c7b66fca52a9d601ce9bbb1d3..a49495dba1df39d4a69e0b5b0f5c7a80eb54bc3d 100644 (file)
@@ -2,13 +2,14 @@ Summary:      Gnu Neat Auto Reply With LDAP
 Summary(pl.UTF-8):     Gnu Neat Auto Reply With LDAP - autoresponder korzystający z LDAP
 Name:          gnarwl
 Version:       3.6
-Release:       1
+Release:       2
 License:       GPL
 Group:         Applications/Mail
 Source0:       http://www.onyxbits.de/sites/default/files/%{name}-%{version}.tgz
 # Source0-md5: 832d1e2264b7e47d318b16795d63da8e
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-opt.patch
+Patch2:                format-security.patch
 URL:           http://www.onyxbits.de/gnarwl/
 BuildRequires: autoconf
 BuildRequires: gdbm-devel
@@ -59,6 +60,7 @@ Ten pakiet zawiera schemat LDAP ISPEnv2.schema do używania z gnarwlem.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__autoconf}
This page took 0.096726 seconds and 4 git commands to generate.