From: Graham Leggett Date: Fri, 2 Dec 2011 13:23:21 +0000 (+0000) Subject: mod_session_crypto: Fix a pool lifetime problem when reading from X-Git-Tag: 2.5.0-alpha~7758 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efcf8a984cbf72b42aa02ee21146ca9428c439a1;p=apache mod_session_crypto: Fix a pool lifetime problem when reading from SessionCryptoPassphraseFile. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209461 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/session/mod_session_crypto.c b/modules/session/mod_session_crypto.c index a0e2d99756..06871d8ae9 100644 --- a/modules/session/mod_session_crypto.c +++ b/modules/session/mod_session_crypto.c @@ -567,7 +567,7 @@ static const char *set_crypto_passphrase_file(cmd_parms *cmd, void *config, 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; }