rpms/libselinux/devel libselinux-rhat.patch, 1.190, 1.191 libselinux.spec, 1.367, 1.368
Daniel J Walsh
dwalsh at fedoraproject.org
Fri Apr 3 12:58:07 UTC 2009
Author: dwalsh
Update of /cvs/extras/rpms/libselinux/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17838
Modified Files:
libselinux-rhat.patch libselinux.spec
Log Message:
* Fri Apr 3 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.79-6
- Fix Memory Leak
libselinux-rhat.patch:
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -r1.190 -r1.191
--- libselinux-rhat.patch 2 Apr 2009 13:36:45 -0000 1.190
+++ libselinux-rhat.patch 3 Apr 2009 12:58:06 -0000 1.191
@@ -257,6 +257,18 @@
}
void selabel_stats(struct selabel_handle *rec)
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/label_file.c libselinux-2.0.79/src/label_file.c
+--- nsalibselinux/src/label_file.c 2009-03-06 14:41:45.000000000 -0500
++++ libselinux-2.0.79/src/label_file.c 2009-04-03 08:57:05.000000000 -0400
+@@ -299,6 +299,8 @@
+ COMPAT_LOG(SELINUX_WARNING,
+ "%s: line %d is missing fields, skipping\n", path,
+ lineno);
++ if (items == 1)
++ freee(regex);
+ return 0;
+ } else if (items == 2) {
+ /* The type field is optional. */
diff --exclude-from=exclude -N -u -r nsalibselinux/src/Makefile libselinux-2.0.79/src/Makefile
--- nsalibselinux/src/Makefile 2009-03-06 14:41:45.000000000 -0500
+++ libselinux-2.0.79/src/Makefile 2009-03-27 14:21:35.000000000 -0400
Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.367
retrieving revision 1.368
diff -u -r1.367 -r1.368
--- libselinux.spec 2 Apr 2009 13:36:47 -0000 1.367
+++ libselinux.spec 3 Apr 2009 12:58:07 -0000 1.368
@@ -5,7 +5,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.0.79
-Release: 5%{?dist}
+Release: 6%{?dist}
License: Public Domain
Group: System Environment/Libraries
Source: http://www.nsa.gov/research/selinux/%{name}-%{version}.tgz
@@ -164,6 +164,9 @@
%{ruby_sitearch}/selinux.so
%changelog
+* Fri Apr 3 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.79-6
+- Fix Memory Leak
+
* Thu Apr 2 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.79-5
- Fix crash in python
More information about the scm-commits
mailing list