diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2022-01-29 20:33:20 +0100 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2022-01-30 12:57:29 +0100 |
commit | 5c01b0744fdccee6afe788ce2deed9d4e9fae3b2 (patch) | |
tree | 56f9c84a941b5788018e6cd58c3e10e4cfc42dff /mod_intercept_form_submit.c | |
parent | 5f31c583914282e48b9d1ca55b18f4cecdcbfbed (diff) | |
download | mod_intercept_form_submit-5c01b0744fdccee6afe788ce2deed9d4e9fae3b2.tar.gz mod_intercept_form_submit-5c01b0744fdccee6afe788ce2deed9d4e9fae3b2.tar.xz mod_intercept_form_submit-5c01b0744fdccee6afe788ce2deed9d4e9fae3b2.zip |
Data was allocated via apr_pstrcat, it is a pool bucket.
Diffstat (limited to 'mod_intercept_form_submit.c')
-rw-r--r-- | mod_intercept_form_submit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_intercept_form_submit.c b/mod_intercept_form_submit.c index 849523f..e3bf8ee 100644 --- a/mod_intercept_form_submit.c +++ b/mod_intercept_form_submit.c @@ -192,7 +192,7 @@ static void intercept_form_redact_password(ap_filter_t * f, ifs_config * config) } char * new_password_data = apr_pstrcat(r->pool, config->password_name, "=", _REDACTED_STRING, NULL); int new_password_data_length = strlen(new_password_data); - apr_bucket * new_b = apr_bucket_immortal_create(new_password_data, new_password_data_length, f->c->bucket_alloc); + apr_bucket * new_b = apr_bucket_pool_create(new_password_data, new_password_data_length, r->pool, f->c->bucket_alloc); APR_BUCKET_INSERT_BEFORE(b, new_b); int password_remove_length = 0; |