1
0
Fork 0
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:
Andy Green 2021-06-22 16:54:02 +01:00
parent c859b60854
commit 7135b3113b

View file

@ -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