diff options
Diffstat (limited to 'libffi/libffi.selinux-detection-3.0.8.patch')
-rw-r--r-- | libffi/libffi.selinux-detection-3.0.8.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libffi/libffi.selinux-detection-3.0.8.patch b/libffi/libffi.selinux-detection-3.0.8.patch new file mode 100644 index 0000000000..a919f28817 --- /dev/null +++ b/libffi/libffi.selinux-detection-3.0.8.patch @@ -0,0 +1,15 @@ +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); |