commit 34196a00b176d52246fe10f9419d0a88843ce473
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Dec 30 17:13:40 2014 +0000

    - fix format string errors

 format-security.patch | 16 ++++++++++++++++
 libvisual.spec        |  2 ++
 2 files changed, 18 insertions(+)
---
diff --git a/libvisual.spec b/libvisual.spec
index d06015a..4b89079 100644
--- a/libvisual.spec
+++ b/libvisual.spec
@@ -9,6 +9,7 @@ Source0:        
http://downloads.sourceforge.net/libvisual/%{name}-%{version}.tar.bz2
 # Source0-md5: d0f987abd0845e725743605fd39ef73f
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-NULL.patch
+Patch2:                format-security.patch
 # original URL is defunct; use sf
 #URL:          http://localhost.nl/~synap/libvisual/
 URL:           http://libvisual.sourceforge.net/
@@ -57,6 +58,7 @@ Statyczna biblioteka libvisual.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 mv -f po/{es_ES,es}.po
 # es_AR is a copy of es
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..fdc45a2
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,16 @@
+--- libvisual-0.4.0/libvisual/lv_plugin.c~     2006-03-04 12:32:47.000000000 
+0000
++++ libvisual-0.4.0/libvisual/lv_plugin.c      2014-12-30 17:12:18.029038873 
+0000
+@@ -442,11 +442,11 @@
+                               
+                               visual_list_add (list, ref);
+                       } else if (ret != FALSE) {
+-                              visual_log (VISUAL_LOG_WARNING, 
visual_error_to_string (ret));
++                              visual_log (VISUAL_LOG_WARNING, "%s", 
visual_error_to_string (ret));
+                       }
+               }
+               else if (ret != FALSE) { /* FIXME XXX TODO, patch frmo duilio 
check how this works */
+-                      visual_log (VISUAL_LOG_WARNING, visual_error_to_string 
(ret));
++                      visual_log (VISUAL_LOG_WARNING, "%s", 
visual_error_to_string (ret));
+               }
+       }
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvisual.git/commitdiff/34196a00b176d52246fe10f9419d0a88843ce473

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

Reply via email to