* [gentoo-commits] gentoo-x86 commit in dev-libs/libffi/files: libffi-3.0.9-strncmp.patch
@ 2011-02-04 18:40 Samuli Suominen (ssuominen)
0 siblings, 0 replies; only message in thread
From: Samuli Suominen (ssuominen) @ 2011-02-04 18:40 UTC (permalink / raw
To: gentoo-commits
ssuominen 11/02/04 18:40:32
Added: libffi-3.0.9-strncmp.patch
Log:
Backport upstream patch for strncmp usage bug by request from Arfrever Frehtes Taifersar Arahesis. Use EAPI=2. This will effectively kill upgrade path from older systems since it's a depend for dev-lang/python and thus portage. But python ebuilds are newer EAPIs too, so we don't care anymore.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-libs/libffi/files/libffi-3.0.9-strncmp.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libffi/files/libffi-3.0.9-strncmp.patch?rev=1.1&content-type=text/plain
Index: libffi-3.0.9-strncmp.patch
===================================================================
src/closures.c (selinux_enabled_check): Fix strncmp usage bug.
http://github.com/atgreen/libffi/commit/eaf444eabc4c78703c0f98ac0197b1619c1b1bef
--- src/closures.c
+++ src/closures.c
@@ -146,7 +146,7 @@
p = strchr (p + 1, ' ');
if (p == NULL)
break;
- if (strncmp (p + 1, "selinuxfs ", 10) != 0)
+ if (strncmp (p + 1, "selinuxfs ", 10) == 0)
{
free (buf);
fclose (f);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-02-04 18:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 18:40 [gentoo-commits] gentoo-x86 commit in dev-libs/libffi/files: libffi-3.0.9-strncmp.patch Samuli Suominen (ssuominen)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox