Commit 2aabf8bd authored by Nils Goroll's avatar Nils Goroll

Do not return an ov state when it was not from this session

This should fix an assertion failure when the ov became invalid between
a match and backref.
parent f79ab966
......@@ -158,8 +158,11 @@ get_ov(struct sess *sp, struct vmod_priv *priv_vcl, const int init)
if ((ov->xid != sp->xid) || (ov->ws != sp->wrk->ws))
init_ov(ov, sp);
if (init == 0)
return NULL;
init_ov(ov, sp);
return (ov);
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