commit c270bce3ff86fe1a1a43395d09b9b555b9749603
Author: Jan Rękorajski <[email protected]>
Date:   Wed Jun 12 19:58:10 2013 +0200

    - fix format string error
    - rel 4

 format-security.patch | 11 +++++++++++
 libprelude.spec       |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/libprelude.spec b/libprelude.spec
index b551d80..659eb6c 100644
--- a/libprelude.spec
+++ b/libprelude.spec
@@ -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
 
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..03705a7
--- /dev/null
+++ b/format-security.patch
@@ -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);
+ }
+ 
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libprelude.git/commitdiff/c270bce3ff86fe1a1a43395d09b9b555b9749603

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to