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 4141a68f23
commit e4aa3ece17

View file

@ -1095,6 +1095,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