httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1209461 - /httpd/httpd/trunk/modules/session/mod_session_crypto.c
Date Fri, 02 Dec 2011 13:23:33 GMT
Author: minfrin
Date: Fri Dec  2 13:23:21 2011
New Revision: 1209461

URL: http://svn.apache.org/viewvc?rev=1209461&view=rev
Log:
mod_session_crypto: Fix a pool lifetime problem when reading from
SessionCryptoPassphraseFile.

Modified:
    httpd/httpd/trunk/modules/session/mod_session_crypto.c

Modified: httpd/httpd/trunk/modules/session/mod_session_crypto.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/mod_session_crypto.c?rev=1209461&r1=1209460&r2=1209461&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/session/mod_session_crypto.c (original)
+++ httpd/httpd/trunk/modules/session/mod_session_crypto.c Fri Dec  2 13:23:21 2011
@@ -567,7 +567,7 @@ static const char *set_crypto_passphrase
 
     while (!(ap_cfg_getline(buffer, sizeof(buffer), file))) {
         args = buffer;
-        while (*(arg = ap_getword_conf(cmd->temp_pool, &args)) != '\0') {
+        while (*(arg = ap_getword_conf(cmd->pool, &args)) != '\0') {
             if (*arg == '#' || *arg == 0) {
                 break;
             }



Mime
View raw message