rpms/libselinux/devel libselinux-rhat.patch, 1.176, 1.177 libselinux.spec, 1.350, 1.351
Daniel J Walsh
dwalsh at fedoraproject.org
Tue Dec 16 14:38:50 UTC 2008
- Previous message (by thread): rpms/pdfbook/F-9 README, NONE, 1.1 pdfbook.c, NONE, 1.1 pdfbook.spec, NONE, 1.1
- Next message (by thread): rpms/libselinux/F-10 libselinux-rhat.patch, 1.170, 1.171 libselinux.spec, 1.346, 1.347
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwalsh
Update of /cvs/extras/rpms/libselinux/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4141
Modified Files:
libselinux-rhat.patch libselinux.spec
Log Message:
* Tue Dec 16 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.76-5
- Fix segfault if seusers file does not work
libselinux-rhat.patch:
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.176
retrieving revision 1.177
diff -u -r1.176 -r1.177
--- libselinux-rhat.patch 12 Dec 2008 16:15:27 -0000 1.176
+++ libselinux-rhat.patch 16 Dec 2008 14:38:48 -0000 1.177
@@ -2961,7 +2961,7 @@
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
diff --exclude-from=exclude -N -u -r nsalibselinux/src/seusers.c libselinux-2.0.76/src/seusers.c
--- nsalibselinux/src/seusers.c 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.76/src/seusers.c 2008-12-12 11:06:18.000000000 -0500
++++ libselinux-2.0.76/src/seusers.c 2008-12-16 09:36:39.000000000 -0500
@@ -243,3 +243,67 @@
*r_level = NULL;
return 0;
@@ -3025,7 +3025,7 @@
+
+ err:
+ free(buffer);
-+ fclose(fp);
++ if (fp) fclose(fp);
+ free(rec);
+
+ return (ret ? getseuserbyname(username, r_seuser, r_level) : ret);
Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.350
retrieving revision 1.351
diff -u -r1.350 -r1.351
--- libselinux.spec 12 Dec 2008 16:15:27 -0000 1.350
+++ libselinux.spec 16 Dec 2008 14:38:49 -0000 1.351
@@ -5,7 +5,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.0.76
-Release: 4%{?dist}
+Release: 5%{?dist}
License: Public Domain
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -163,6 +163,9 @@
%{ruby_sitearch}/selinux.so
%changelog
+* Tue Dec 16 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.76-5
+- Fix segfault if seusers file does not work
+
* Fri Dec 12 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.76-4
- Add new function getseuser which will take username and service and return
- seuser and level. ipa will populate file in future.
- Previous message (by thread): rpms/pdfbook/F-9 README, NONE, 1.1 pdfbook.c, NONE, 1.1 pdfbook.spec, NONE, 1.1
- Next message (by thread): rpms/libselinux/F-10 libselinux-rhat.patch, 1.170, 1.171 libselinux.spec, 1.346, 1.347
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list