You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by mi...@apache.org on 2011/12/02 14:23:33 UTC
svn commit: r1209461 -
/httpd/httpd/trunk/modules/session/mod_session_crypto.c
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;
}