From 5c01b0744fdccee6afe788ce2deed9d4e9fae3b2 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Sat, 29 Jan 2022 20:33:20 +0100 Subject: Data was allocated via apr_pstrcat, it is a pool bucket. --- mod_intercept_form_submit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit