[mod_auth_kerb] fix segfault in cache dir fix (#796430)

jorton jorton at fedoraproject.org
Wed Jun 13 15:02:08 UTC 2012


commit 22f4ad25e5dcd209069dd4100704edc94ac8a691
Author: Joe Orton <jorton at redhat.com>
Date:   Wed Jun 13 16:02:04 2012 +0100

    fix segfault in cache dir fix (#796430)
    
    Resolves: rhbz#796430

 mod_auth_kerb-5.4-cachedir.patch |    2 +-
 mod_auth_kerb.spec               |    5 ++++-
 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 at redhat.com> - 5.4-15
+- fix segfault in cache dir fix (#796430)
+
 * Fri May 11 2012 Joe Orton <jorton at redhat.com> - 5.4-14
 - add tmpfile drop-in for cred cache (#796430)
 - really apply delegation fix


More information about the scm-commits mailing list