summaryrefslogtreecommitdiff
path: root/sci-biology/eugene/files/eugene-4.1-format-security.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-biology/eugene/files/eugene-4.1-format-security.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-biology/eugene/files/eugene-4.1-format-security.patch')
-rw-r--r--sci-biology/eugene/files/eugene-4.1-format-security.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-biology/eugene/files/eugene-4.1-format-security.patch b/sci-biology/eugene/files/eugene-4.1-format-security.patch
new file mode 100644
index 000000000000..e6e4a6cc8bd7
--- /dev/null
+++ b/sci-biology/eugene/files/eugene-4.1-format-security.patch
@@ -0,0 +1,16 @@
+ 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;