[libselinux/f17] Fix segfault when calling audit2why.init or audit2why.finish() python bindings more then once.

Daniel J Walsh dwalsh at fedoraproject.org
Tue Oct 16 17:47:31 UTC 2012


commit 33fd4751b30a05da8ea0d2e0372e82265fe47b4d
Author: rhatdan <dwalsh at redhat.com>
Date:   Tue Oct 16 13:47:04 2012 -0400

    Fix segfault when calling audit2why.init or audit2why.finish() python bindings more then once.

 libselinux.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libselinux.spec b/libselinux.spec
index 1ca2dd9..54278ed 100644
--- a/libselinux.spec
+++ b/libselinux.spec
@@ -98,7 +98,7 @@ needed for developing SELinux applications.
 %prep
 %setup -q
 %patch1 -p2 -b .rhat
-%patch2 -p2 -b .audit2why
+%patch2 -p1 -b .audit2why
 
 %build
 # To support building the Python wrapper against multiple Python runtimes


More information about the scm-commits mailing list