1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

coverity: 62431: reassure coverity static blob always exists

This commit is contained in:
Andy Green 2020-08-18 10:44:46 +01:00
parent fc9a23abeb
commit 80395f479f

View file

@ -120,6 +120,9 @@ ss_api_amazon_auth_rx(void *userobj, const uint8_t *buf, size_t len, int flags)
int n;
ab = lws_system_get_blob(context, LWS_SYSBLOB_TYPE_AUTH, AUTH_IDX_LWA);
/* coverity */
if (!ab)
return -1;
if (buf) {
if (flags & LWSSS_FLAG_SOM) {