mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
pcl: removed code causing use-after-free
Found by static analyzer. Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -455,9 +455,6 @@ static void co_del_helper(void *data)
|
||||
co_delete(tctx->co_curr->caller);
|
||||
co_call((coroutine_t) cdh);
|
||||
if (tctx->co_dhelper == NULL) {
|
||||
fprintf(stderr,
|
||||
"[PCL] Resume to delete helper coroutine: curr=%p caller=%p\n",
|
||||
tctx->co_curr, tctx->co_curr->caller);
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user