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

COVA10117: help Coverity understand the address cannot be NULL

This commit is contained in:
Andy Green 2019-07-16 10:02:54 -07:00
parent aa21fc4027
commit 2c143ed224

View file

@ -826,6 +826,9 @@ lws_client_interpret_server_handshake(struct lws *wsi)
}
#endif
if (!ads) /* make coverity happy */
goto bail3;
if (!lws_client_reset(&wsi, ssl, ads, port, path, ads)) {
/* there are two ways to fail out with NULL return...
* simple, early problem where the wsi is intact, or