1
0
Fork 0
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:
Andy Green 2020-08-18 09:40:23 +01:00
parent b63c7f1e8e
commit cdbf86fe4a

View file

@ -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;