commit d9e984b7bcc30eb5370dfa247247ea74a5f69fb0
Author: Jan Rękorajski <[email protected]>
Date:   Wed Dec 4 21:34:45 2013 +0100

    - fix format string error
    - rel 2

 format-security.patch | 11 +++++++++++
 qhull.spec            |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/qhull.spec b/qhull.spec
index 1b37d10..1c87738 100644
--- a/qhull.spec
+++ b/qhull.spec
@@ -2,12 +2,13 @@ Summary:      Qhull - convex hulls, triangulations and 
related computations
 Summary(pl.UTF-8):     Qhull - obliczanie powłok wypukłych, triangulacji i 
powiązanych rzeczy
 Name:          qhull
 Version:       2012.1
-Release:       1
+Release:       2
 License:       distributable (see COPYING.txt)
 Group:         Libraries
 Source0:       http://www.qhull.org/download/%{name}-%{version}-src.tgz
 # Source0-md5: d0f978c0d8dfb2e919caefa56ea2953c
 Patch0:                %{name}-cmake.patch
+Patch1:                format-security.patch
 URL:           http://www.qhull.org/
 BuildRequires: cmake >= 2.6
 BuildRequires: libstdc++-devel
@@ -95,6 +96,7 @@ Statyczna biblioteka QhullCPP.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %cmake . \
diff --git a/format-security.patch b/format-security.patch
new file mode 100644
index 0000000..ac26e58
--- /dev/null
+++ b/format-security.patch
@@ -0,0 +1,11 @@
+--- qhull-2012.1/src/testqset/testqset.c~      2012-01-26 03:55:25.000000000 
+0100
++++ qhull-2012.1/src/testqset/testqset.c       2013-12-04 21:33:46.116729166 
+0100
+@@ -214,7 +214,7 @@
+     char *endp;
+ 
+     if (argc != 2 && argc != 3) {
+-        printf(promptstr);
++        printf("%s", promptstr);
+         exit(0);
+     }
+     numIntsArg= strtol(argv[1], &endp, 10);
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qhull.git/commitdiff/d9e984b7bcc30eb5370dfa247247ea74a5f69fb0

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

Reply via email to