mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
ss: check serialize null policy
This commit is contained in:
parent
c859b60854
commit
7135b3113b
1 changed files with 5 additions and 0 deletions
|
@ -1100,6 +1100,11 @@ payload_ff:
|
|||
if (!proxy_pss_to_ss_h(pss))
|
||||
goto hangup;
|
||||
|
||||
if (!proxy_pss_to_ss_h(pss)->policy) {
|
||||
lwsl_err("%s: null policy\n", __func__);
|
||||
goto hangup;
|
||||
}
|
||||
|
||||
/*
|
||||
* This is the policy's metadata list for the given
|
||||
* name
|
||||
|
|
Loading…
Add table
Reference in a new issue