]> granicus.if.org Git - apache/commitdiff
mod_session_crypto: Fix a pool lifetime problem when reading from
authorGraham Leggett <minfrin@apache.org>
Fri, 2 Dec 2011 13:23:21 +0000 (13:23 +0000)
committerGraham Leggett <minfrin@apache.org>
Fri, 2 Dec 2011 13:23:21 +0000 (13:23 +0000)
SessionCryptoPassphraseFile.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209461 13f79535-47bb-0310-9956-ffa450edef68

modules/session/mod_session_crypto.c

index a0e2d99756dd2eb1a94b50c8ac4b57ef11ae71b6..06871d8ae9cc861b147b12a7f208212b5c88bc49 100644 (file)
@@ -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;
             }