]> git.pld-linux.org Git - packages/libprelude.git/commitdiff
- fix format string error auto/th/libprelude-1.0.1-4
authorJan Rękorajski <baggins@pld-linux.org>
Wed, 12 Jun 2013 17:58:10 +0000 (19:58 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Wed, 12 Jun 2013 17:58:10 +0000 (19:58 +0200)
- rel 4

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

diff --git a/format-security.patch b/format-security.patch
new file mode 100644 (file)
index 0000000..03705a7
--- /dev/null
@@ -0,0 +1,11 @@
+--- libprelude-1.0.1/bindings/low-level/perl/Prelude.c~        2012-06-05 11:44:18.000000000 +0200
++++ libprelude-1.0.1/bindings/low-level/perl/Prelude.c 2013-06-12 19:57:24.385066811 +0200
+@@ -1803,7 +1803,7 @@
+       char buf[1024];
+       snprintf(buf, sizeof(buf), "Prelude error - %s: %s", prelude_strsource(error), prelude_strerror(error));
+-      croak(buf);
++      croak("%s", buf);
+ }
index b551d80c8d71e385876fc5927e98887af22ae7a7..659eb6c9e99b7940a1d68907833c62ea6319128a 100644 (file)
@@ -10,7 +10,7 @@ Summary:      The Prelude library
 Summary(pl.UTF-8):     Biblioteka Prelude
 Name:          libprelude
 Version:       1.0.1
-Release:       3
+Release:       4
 License:       GPL v2 or commercial
 Group:         Libraries
 # https://www.prelude-ids.org/projects/prelude/files
@@ -21,6 +21,7 @@ Patch1:               %{name}-ruby.patch
 Patch2:                %{name}-gnutls.patch
 Patch3:                %{name}-gets.patch
 Patch4:                %{name}-python.patch
+Patch5:                format-security.patch
 URL:           http://www.prelude-ids.com/
 BuildRequires: autoconf >= 2.59
 BuildRequires: automake
@@ -233,6 +234,7 @@ PreludeEasy - dowiązania języka Ruby do libprelude.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 sed -i -e 's/lua >= 5.1/lua51 >= 5.1/' configure.in
 
This page took 0.038071 seconds and 4 git commands to generate.