mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
coverity: 51248: convince coverity we have an ah attached before dereference during parse
This commit is contained in:
parent
b63c7f1e8e
commit
cdbf86fe4a
1 changed files with 4 additions and 0 deletions
|
@ -2001,6 +2001,10 @@ raw_transition:
|
|||
goto bail_nuke_ah;
|
||||
}
|
||||
|
||||
/* coverity... */
|
||||
if (!wsi->http.ah)
|
||||
goto bail_nuke_ah;
|
||||
|
||||
if (wsi->http.ah->parser_state != WSI_PARSING_COMPLETE)
|
||||
continue;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue