Commit 4716028f authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Ensure VRT_priv_task doesn't get both req and bo

parent fac3e589
......@@ -141,6 +141,7 @@ VRT_priv_task(VRT_CTX, const void *vmod_id)
struct vrt_privs *vps;
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
assert(ctx->req == NULL || ctx->bo == NULL);
if (ctx->req) {
CHECK_OBJ_NOTNULL(ctx->req, REQ_MAGIC);
id = (uintptr_t)ctx->req;
......
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