summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod_auth_kerb-5.4-cachedir.patch2
-rw-r--r--mod_auth_kerb.spec5
2 files changed, 5 insertions, 2 deletions
diff --git a/mod_auth_kerb-5.4-cachedir.patch b/mod_auth_kerb-5.4-cachedir.patch
index 2c2a1fd..edbbe4b 100644
--- a/mod_auth_kerb-5.4-cachedir.patch
+++ b/mod_auth_kerb-5.4-cachedir.patch
@@ -12,7 +12,7 @@ switch the cache dir to be relative to runtimedir.
+ ccname = apr_pstrcat(r->connection->pool, "FILE:",
+ ap_server_root_relative(r->pool,
+ DEFAULT_REL_RUNTIMEDIR
-+ "/krb5cc_apache_XXXXXX"));
++ "/krb5cc_apache_XXXXXX"), NULL);
fd = mkstemp(ccname + strlen("FILE:"));
if (fd < 0) {
log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
diff --git a/mod_auth_kerb.spec b/mod_auth_kerb.spec
index 095f0fe..d024b93 100644
--- a/mod_auth_kerb.spec
+++ b/mod_auth_kerb.spec
@@ -8,7 +8,7 @@
Summary: Kerberos authentication module for HTTP
Name: mod_auth_kerb
Version: 5.4
-Release: 14%{?dist}
+Release: 15%{?dist}
License: BSD and MIT and ASL 2.0
Group: System Environment/Daemons
URL: http://modauthkerb.sourceforge.net/
@@ -81,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
%config %{_sysconfdir}/tmpfiles.d/httpd-user.conf
%changelog
+* Wed Jun 13 2012 Joe Orton <jorton@redhat.com> - 5.4-15
+- fix segfault in cache dir fix (#796430)
+
* Fri May 11 2012 Joe Orton <jorton@redhat.com> - 5.4-14
- add tmpfile drop-in for cred cache (#796430)
- really apply delegation fix