summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2014-12-26 11:28:07 +0000
committerJustin Lecher <jlec@gentoo.org>2014-12-26 11:28:07 +0000
commite4cee5e743bf3cd24026068ddfecb76d0222228a (patch)
tree1f8cec396596b6bf7d9c7fb1270ed57504c20a41 /media-libs/qhull/files
parentVersion bump. (diff)
downloadgentoo-2-e4cee5e743bf3cd24026068ddfecb76d0222228a.tar.gz
gentoo-2-e4cee5e743bf3cd24026068ddfecb76d0222228a.tar.bz2
gentoo-2-e4cee5e743bf3cd24026068ddfecb76d0222228a.zip
media-libs/qhull: Fix format-security problems, #528110
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'media-libs/qhull/files')
-rw-r--r--media-libs/qhull/files/qhull-2012.1-format-security.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/qhull/files/qhull-2012.1-format-security.patch b/media-libs/qhull/files/qhull-2012.1-format-security.patch
new file mode 100644
index 000000000000..14bce2baa75c
--- /dev/null
+++ b/media-libs/qhull/files/qhull-2012.1-format-security.patch
@@ -0,0 +1,16 @@
+ src/libqhull/io.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/libqhull/io.c b/src/libqhull/io.c
+index 09a0079..2bd066e 100644
+--- a/src/libqhull/io.c
++++ b/src/libqhull/io.c
+@@ -2238,7 +2238,7 @@ void qh_printfacet3math(FILE *fp, facetT *facet, qh_PRINT format, int notfirst)
+ qh_memfree(point, qh normal_size);
+ qh_settempfree(&points);
+ qh_settempfree(&vertices);
+- qh_fprintf(fp, 9110, endfmt);
++ fprintf(fp, "%s", endfmt);
+ } /* printfacet3math */
+
+