Commit f917f627 authored by Graham Leggett's avatar Graham Leggett
Browse files

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
parent 318b8675
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/session/mod_session_crypto.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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;
            }