jlec        15/03/20 16:38:39

  Added:                eugene-4.1-format-security.patch
  Log:
  Drop old; fix for format-security; drop broken doc generation, bug #461000
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 
B9D4F231BD1558AB!)

Revision  Changes    Path
1.1                  sci-biology/eugene/files/eugene-4.1-format-security.patch

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

Index: eugene-4.1-format-security.patch
===================================================================
 src/Hits.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Hits.cc b/src/Hits.cc
index edfe178..b228be6 100755
--- a/src/Hits.cc
+++ b/src/Hits.cc
@@ -166,7 +166,7 @@ Hits* Hits::ReadFromFile(FILE* HitFile, int *NumHits, int 
level, int margin, int
     while ((read=fscanf(HitFile,"%d %d %d %lf %d %s %d %d %as\n", &deb, &fin,
                         &poids, &evalue, &phase, HitId, &HSPDeb, &HSPFin,HSP)) 
>= 8)
     {
-        if (HSP) fprintf(stderr,HSP);
+        if (HSP) fprintf(stderr, "%s", HSP);
         if (phase < 0  &&  deb > fin)
         {
             int tmp = deb;




Reply via email to