mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
sspc: lws_sspc_handle_t pointer in wsi used after free
This commit is contained in:
parent
3216d4d087
commit
544b668605
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ callback_sspc_client(struct lws *wsi, enum lws_callback_reasons reason,
|
|||
case LWSSSSRET_DISCONNECT_ME:
|
||||
return -1;
|
||||
case LWSSSSRET_DESTROY_ME:
|
||||
lws_set_opaque_user_data(wsi, NULL);
|
||||
lws_sspc_destroy(&h);
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue