Commit 1f746aea authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Zero the cli_task_priv after use.

parent a3ee09b8
......@@ -101,6 +101,7 @@ VRTPRIV_dynamic_kill(struct vrt_privs *privs, uintptr_t id)
if (privs == NULL && id == 0) {
ASSERT_CLI();
VRT_priv_fini(&cli_task_priv);
memset(&cli_task_priv, 0, sizeof cli_task_priv);
return;
}
CHECK_OBJ_NOTNULL(privs, VRT_PRIVS_MAGIC);
......
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