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:
parent
fc9a23abeb
commit
80395f479f
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue