rpms/krb5/F-8 krb5-1.6.1-selinux-label.patch,1.4,1.5
Nalin Somabhai Dahyabhai (nalin)
fedora-extras-commits at redhat.com
Tue Mar 18 16:12:03 UTC 2008
Author: nalin
Update of /cvs/pkgs/rpms/krb5/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11708
Modified Files:
krb5-1.6.1-selinux-label.patch
Log Message:
- fix calculation of the length of relative filenames when looking up the
SELinux labels they should be given (Pawel Salek, #436345)
krb5-1.6.1-selinux-label.patch:
Index: krb5-1.6.1-selinux-label.patch
===================================================================
RCS file: /cvs/pkgs/rpms/krb5/F-8/krb5-1.6.1-selinux-label.patch,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- krb5-1.6.1-selinux-label.patch 17 Sep 2007 20:46:21 -0000 1.4
+++ krb5-1.6.1-selinux-label.patch 18 Mar 2008 16:11:55 -0000 1.5
@@ -698,7 +698,7 @@
+ }
+ return NULL;
+ }
-+ len = strlen(wd) + strlen(pathname) + 1;
++ len = strlen(wd) + 1 + strlen(pathname) + 1;
+ genpath = malloc(len);
+ if (genpath == NULL) {
+ free(wd);
More information about the fedora-extras-commits
mailing list