Commit 4b9b68b0 by Geoff Simmons

Bugfix saving match data in task scope after a match

for use by the backref/namedref functions.
parent 1c11a5fc
......@@ -433,6 +433,9 @@ get_task(VRT_CTX, struct vmod_priv *priv_task,
}
match_task->magic = VMOD_PCRE2_TASK_MAGIC;
match_task->mdata = NULL;
priv_task->priv = match_task;
priv_task->len = sizeof(*match_task);
priv_task->free = NULL;
}
else {
WS_Assert_Allocated(ctx->ws, priv_task->priv,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment