mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
cookies are overwritten prior to fork
This commit is contained in:
@@ -432,6 +432,7 @@ void clear_lists(main_server_st *s)
|
||||
if (ctmp->fd >= 0)
|
||||
close(ctmp->fd);
|
||||
list_del(&ctmp->list);
|
||||
memset(ctmp, 0, sizeof(*ctmp));
|
||||
free(ctmp);
|
||||
s->clist.total--;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user