jlec        15/03/29 14:30:36

  Added:                fasttree-2.1.8-format-security.patch
                        fasttree-2.1.7-format-security.patch
  Removed:              fasttree-2.0.1-asneeded.patch
  Log:
  Version BUmp; drop old
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.1                  
sci-biology/fasttree/files/fasttree-2.1.8-format-security.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/fasttree/files/fasttree-2.1.8-format-security.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/fasttree/files/fasttree-2.1.8-format-security.patch?rev=1.1&content-type=text/plain

Index: fasttree-2.1.8-format-security.patch
===================================================================
 FastTreeUPGMA-2.1.8.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/FastTreeUPGMA-2.1.8.c b/FastTreeUPGMA-2.1.8.c
index af76cb1..4065f42 100644
--- a/FastTreeUPGMA-2.1.8.c
+++ b/FastTreeUPGMA-2.1.8.c
@@ -535,7 +535,7 @@ int main(int argc, char **argv) {
       break;
   }
   if(iArg < argc-1) {
-    fprintf(stderr, usage);
+    fprintf(stderr, "%s", usage);
     exit(1);
   }
 
@@ -953,7 +953,7 @@ void PrintUPGMA(FILE *fp, UPGMA_t *UPGMA, char **names,
       assert(first >= 0);
       /* Print the name, or the subtree of duplicate names */
       if (nameNext[first] == -1) {
-       fprintf(fp, names[uniqueFirst[node]]);
+       fprintf(fp, "%s", names[uniqueFirst[node]]);
       } else {
        fprintf(fp,"(%s:0.0",names[first]);
        int iName = nameNext[first];



1.1                  
sci-biology/fasttree/files/fasttree-2.1.7-format-security.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/fasttree/files/fasttree-2.1.7-format-security.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/fasttree/files/fasttree-2.1.7-format-security.patch?rev=1.1&content-type=text/plain

Index: fasttree-2.1.7-format-security.patch
===================================================================
 FastTreeUPGMA-2.1.7.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/FastTreeUPGMA-2.1.7.c b/FastTreeUPGMA-2.1.7.c
index af76cb1..4065f42 100644
--- a/FastTreeUPGMA-2.1.7.c
+++ b/FastTreeUPGMA-2.1.7.c
@@ -535,7 +535,7 @@ int main(int argc, char **argv) {
       break;
   }
   if(iArg < argc-1) {
-    fprintf(stderr, usage);
+    fprintf(stderr, "%s", usage);
     exit(1);
   }
 
@@ -953,7 +953,7 @@ void PrintUPGMA(FILE *fp, UPGMA_t *UPGMA, char **names,
       assert(first >= 0);
       /* Print the name, or the subtree of duplicate names */
       if (nameNext[first] == -1) {
-       fprintf(fp, names[uniqueFirst[node]]);
+       fprintf(fp, "%s", names[uniqueFirst[node]]);
       } else {
        fprintf(fp,"(%s:0.0",names[first]);
        int iName = nameNext[first];




Reply via email to