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:
parent
aa21fc4027
commit
2c143ed224
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue