summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-11-04 10:06:22 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-11-04 10:06:22 +0000
commit5c933f93e2d235bf69443d312e12389ea57531ac (patch)
treeb09ba38073e833d0858427bba5aeb7ff756204b0 /sci-biology/infernal/files/infernal-1.0.2-overflows.patch
parentAutomated update of use.local.desc (diff)
downloadhistorical-5c933f93e2d235bf69443d312e12389ea57531ac.tar.gz
historical-5c933f93e2d235bf69443d312e12389ea57531ac.tar.bz2
historical-5c933f93e2d235bf69443d312e12389ea57531ac.zip
Fix parallel build wrt bug 311919. Thanks to Myckel Habets <m.e.j.habets@biology.leidenuniv.nl> for patch and report. Fix buffer overflow wrt bug 338179 and respect LDFLAGS wrt bug 338177. Thanks to Diego Elio Pettenò for the reports. Drop old.
Package-Manager: portage-2.1.9.24/cvs/Linux x86_64
Diffstat (limited to 'sci-biology/infernal/files/infernal-1.0.2-overflows.patch')
-rw-r--r--sci-biology/infernal/files/infernal-1.0.2-overflows.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/sci-biology/infernal/files/infernal-1.0.2-overflows.patch b/sci-biology/infernal/files/infernal-1.0.2-overflows.patch
new file mode 100644
index 000000000000..b9791fa1ca2e
--- /dev/null
+++ b/sci-biology/infernal/files/infernal-1.0.2-overflows.patch
@@ -0,0 +1,15 @@
+Fix buffer overflow
+
+http://bugs.gentoo.org/show_bug.cgi?id=338179
+
+--- easel/esl_getopts.c
++++ easel/esl_getopts.c
+@@ -1270,7 +1270,7 @@
+ "Arg looks like option? Use %.24s%.24s if you really mean it.",
+ g->opt[opti].name, *ret_optarg);
+ } else
+- ESL_FAIL(eslESYNTAX, "Option %.24s requires an argument", g->opt[opti].name);
++ ESL_FAIL(eslESYNTAX, g->errbuf, "Option %.24s requires an argument", g->opt[opti].name);
+
+ g->optstring = NULL; /* An optchar that takes an arg must terminate an optstring. */
+ }